Y
Hacker News
new
|
ask
|
show
|
jobs
by
bschwindHN
3324 days ago
My guess is it came from Scala? In practice it's not very tough to get it right.
1 comments
throwaway7645
3324 days ago
Val might have originally been OCaml or Haskell.
link
mahmud
3323 days ago
Standard ML, rather.
It might have appeared in earlier MLs as an extension.
link
throwaway7645
3322 days ago
And I was soooo close :)
link
bschwindHN
3323 days ago
I mean the combination of val (immutable) and var (mutable) as keywords to declare bindings. OCaml uses let and so does Haskell, right?
link