Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My guess is it came from Scala? In practice it's not very tough to get it right.


Val might have originally been OCaml or Haskell.


Standard ML, rather.

It might have appeared in earlier MLs as an extension.


And I was soooo close :)


I mean the combination of val (immutable) and var (mutable) as keywords to declare bindings. OCaml uses let and so does Haskell, right?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: