PLDB
Languages Features Calendar About Lists Add Language
GitHub icon

Curry

Curry

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

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...

Try now: Riju

#452on PLDB 32Years Old 275.0Users

Example code from Riju:

main :: IO () main = putStrLn "Hello, world!"

Example code 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 code 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

Article source

PLDB - Build the next great programming language. v5.0.0 - Acknowledgements · Email · GitHub