Questions Concepts
GitHub icon


Curry - Programming language

< >

Curry is a programming language created in 1990 by Michael Hanus and Sergio Antoy.

#519on PLDB 33Years Old 4Repos

Try now: Riju

Curry is an experimental functional logic programming language, based on the Haskell language. It merges elements of functional and logic programming, including constraint programming integration. It is nearly a superset of Haskell, lacking support mostly for overloading using type classes, which some implementations provide anyway as a language extension, such as the Münster Curry Compiler.. Read more on Wikipedia...

Example from Riju:
main :: IO () main = putStrLn "Hello, world!"
Example from hello-world:
-- "Hello World" demo for the Tcl/Tk library import Tk main = runWidget "Hello" (TkCol [] [TkLabel [TkText "Hello World"], TkButton tkExit [TkText "Stop"]])
Example from Wikipedia:
insert x ys = x : ys insert x (y:ys) = y : insert x ys

Language features

Feature Supported Token Example
Strings "
"Hello world"
Semantic Indentation

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · · Logout