4 ms·
My guess is it came from Scala? In practice it's not very tough to get it right.
by bschwindHN 9y ago
My guess is it came from Scala? In practice it's not very tough to get it right.
- throwaway7645 9y agoVal might have originally been OCaml or Haskell.
- mahmud 9y agoStandard ML, rather. It might have appeared in earlier MLs as an extension.
- throwaway7645 9y agoAnd I was soooo close :)
- bschwindHN 9y agoI mean the combination of val (immutable) and var (mutable) as keywords to declare bindings. OCaml uses let and so does Haskell, right?