| Fudgets | |
|---|---|
| Original authors | Thomas Hallgren, Magnus Carlsson |
| Initial release | June 1993; 32 years ago (1993-06) |
| Stable release | 0.18.4 / June 2023; 2 years ago (2023-06) |
| Written in | Haskell |
| Operating system | POSIX compatible:Unix,Unix-like,Linux,macOS viaXQuartz |
| Platform | IA-32,x86-64 |
| Available in | English |
| Type | GUItoolkit |
| License | freeware non-commercial |
Incomputing,Fudgets is agraphical user interfacetoolkit for thefunctionalprogramming languageHaskell and theX Window System.[1][2] Fudgets makes it easy to createclient–server model applications that communicate via theInternet.
Most of the work on Fudgets was done in 1991-1996 by Thomas Hallgren and Magnus Carlsson.[3]
The authors claim that many of the advantages of Fudgets come from it being programmed in alazyfunctional programming language.[4]
The main entity of toolkit is fudget (implemented on low level through stream processors) which has its own input and output.[5] Fudgets can be composed in parallel or sequence, yielding new fudget which can be used in code as any other fudget.
factorialF=stdoutF>==<mapF(show.factorial.read)>==<stdinFfactorial::Integer->Integerfactorialn=product[1..n]
The code is self-describing considering that>==< is sequential fudget plumbing andmapF is fudget that takes a function of one argument and makes a fudget which output is input applied to that function. Fudget composition must be read from right to left, as a simple function composition. Now you can simply write:
main=fudloguefactorialF
compile and run. For every given integer value it will print its factorial.
Thesoftware license of Fudgets claims that this software isfreeware for non-commercial use only.
Thiscomputer-library-related article is astub. You can help Wikipedia byadding missing information. |