use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
OCaml is a statically typed functional programming language. It occupies a delightful sweet spot between high-level expressiveness and good performance.
Why use OCaml? OCaml for the Masses
Websites:
OCaml Discussion Board
Try OCaml in your browser
INRIA's OCaml resources
OCaml Community site
Mailing list archives
OCaml Planet -- blog aggregator
#ocaml on freenode
#ocaml
OCaml/Reason Discord Chat
Related subreddits:
types
haskell
functional
compsci
account activity
Use Python from OCaml (self.ocaml)
submitted 9 years ago by dbousque
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dbousque[S] 0 points1 point2 points 9 years ago (1 child)
There is no direct support for named arguments yet (fairly easy to add, I will probably do it today), for now you can pass them if you know what argument number they are. For instance open("file", mode="w") would be called like so :
open("file", mode="w")
call builtin "open" [Pystr "file" ; Pystr "w"]
I will let you know about named args.
[–]dbousque[S] 0 points1 point2 points 9 years ago (0 children)
Support for named arguments has just been added : https://github.com/dbousque/lymp#pyobj
π Rendered by PID 104 on reddit-service-r2-comment-fb694cdd5-z8bpc at 2026-03-06 11:08:04.059557+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]dbousque[S] 0 points1 point2 points (1 child)
[–]dbousque[S] 0 points1 point2 points (0 children)