Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Jilano something with graphics would be neat, ocaml lacks a decent desktop gui framework
-
sagar131016y@ganjaman I know, right! This is my first time learning a functional programing language with closures. I learned that in scala, while calling a function on an object, you can omit the dot preceding the function and the parantheses if the function has only one parameter!! And apparently this is a very common patter in closures..
eg: util.echo("Hello") can be invoked as util echo "Hello" -
@sagar13 thats because ("asd") is basically let f = () => "asd", so it just evaluates to a string. I havent found a way to pipe yet, im really used to writing "asd" |> print.
Imma just learn scala this weekend
rant