PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Curry

Curry

< >

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

#494on PLDB 32Years Old 275Users
1Books 0Papers 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 Example Token
Strings
"Hello world"
"
Semantic Indentation

Books about Curry from ISBNdb

title authors year publisher
Wcflp '05: Proceedings Of The Acm Sigplan 2005 Workshop On Curry And Functional Logic Programming, September 29, 2005, Tallinn, E Acm Special Interest Group On Programmin and N/a 2005 Association For Computing Machinery (acm)
cg.html · curry.html · musicxml.html

View source

PLDB - Build the next great programming language · v2022 · Day 90 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com