Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Clean (programming language)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Features== Clean shares many properties and [[Syntax (programming languages)|syntax]] with a younger sibling language, [[Haskell]]: [[referential transparency]], [[list comprehension]], [[Guard (computing)|guards]], [[Garbage collection (computer science)|garbage collection]], [[higher order functions]], [[currying]], and [[lazy evaluation]]. However, Clean deals with mutable state and [[input/output]] (I/O) through a [[uniqueness type]] system, in contrast to Haskell's use of [[Monad (functional programming)|monads]]. The [[compiler]] takes advantage of the uniqueness type system to generate more efficient code, because it knows that at any point during the execution of the program, only one reference can exist to a value with a unique type. Therefore, a unique value can be [[destructive update|changed in place]].<ref name="CleanHaskellGuide">{{Cite FTP |url=ftp://ftp.cs.ru.nl/pub/Clean/papers/2007/achp2007-CleanHaskellQuickGuide.pdf |server=ftp.cs.ru.nl |url-status=dead |title=FTP link }}</ref> An [[integrated development environment]] (IDE) for [[Microsoft Windows]] is included in the Clean distribution.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)