Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Fudgets

From Wikipedia, the free encyclopedia
Fudgets
Original authorsThomas Hallgren,
Magnus Carlsson
Initial releaseJune 1993; 32 years ago (1993-06)
Stable release
0.18.4 / June 2023; 2 years ago (2023-06)
Written inHaskell
Operating systemPOSIX compatible:Unix,Unix-like,Linux,macOS viaXQuartz
PlatformIA-32,x86-64
Available inEnglish
TypeGUItoolkit
Licensefreeware 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.

Example

[edit]
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.

License

[edit]

Thesoftware license of Fudgets claims that this software isfreeware for non-commercial use only.

References

[edit]
  1. ^Hallgren, Thomas; Carlsson, Magnus (1995)."Programming with Fudgets". In Jeuring, Johan; Meijer, Erik (eds.).Advanced Functional Programming. Lecture Notes in Computer Science. Vol. 925. Berlin, Heidelberg: Springer. pp. 137–182.doi:10.1007/3-540-59451-5_5.ISBN 978-3-540-49270-2.
  2. ^Reid, Alastair; Singh, Satnam (1994). "Implementing Fudgets with Standard Widget Sets". Written at Ayr, Scotland. In O’Donnell, John T.; Hammond, Kevin (eds.).Functional Programming, Glasgow 1993: Proceedings of the 1993 Glasgow Workshop on Functional Programming, 5–7 July 1993. Workshops in Computing. London: Springer. pp. 222–235.doi:10.1007/978-1-4471-3236-3_18.ISBN 978-1-4471-3236-3. Retrieved2023-10-26.
  3. ^Hallgren, Thomas; Carlsson, Magnus (June 6, 2023)."Fudgets Home Page".altocumulus.org. RetrievedOctober 25, 2023.
  4. ^Carlsson, Magnus; Hallgren, Thomas (1993-07-01)."Fudgets: A graphical user interface in a lazy functional language".Proceedings of the conference on Functional programming languages and computer architecture. ACM. pp. 321–330.doi:10.1145/165180.165228.ISBN 978-0-89791-595-3.S2CID 9943994.
  5. ^Burton, F. Warren (1999)."Advanced Functional Programming: Lecture Notes in Computer Science 925 edited by Johan Jeuring and Erik Meijer, Springer-Verlag, 1995".Journal of Functional Programming.9 (1):105–111.doi:10.1017/S0956796899223246.ISSN 1469-7653.

External links

[edit]
Haskell programming
Software
Implementations
(features)
Dialects
Electronic
design
Libraries
Package managers
Windowing systems
Web frameworks
Book
Community
Eponym
Italics= discontinued° =Open-source software
BookCategories:FamilySoftware


Stub icon

Thiscomputer-library-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Fudgets&oldid=1334540159"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp