Advertisement
Guest User

Untitled

a guest
Feb 14th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. ocaml is the closest you'll get to having "immutable namespaces"
  2.  
  3. alexmiller [23:34]
  4. Nice :)
  5.  
  6. bronsa [23:34]
  7. and redefinition in ocaml is just not a thing
  8. and mutual recursion needs to be compiled in a single compilation block
  9. etc
  10.  
  11. alexmiller [23:34]
  12. Well if it’s indistinguishable from magic then it must be sufficiently advanced
  13.  
  14. bronsa [23:34]
  15. hehe
  16. (altho the lack of redefinition in ocaml is considered an intentional feature) (edited)
  17.  
  18. tbaldridge [23:35]
  19. @bronsa it blew my mind when I found out that F# kept all those "features"
  20. one of the reasons I learned Clojure instead.
  21.  
  22. noisesmith [23:36]
  23. brb implementing OClojml
  24.  
  25. bronsa [23:36]
  26. you're kinda forced to do that in a staticly typed lang
  27. otherwise redefinition would invalidate all your types
  28. what a mess that would be
  29. I've never looked at F#
  30.  
  31. tbaldridge [23:39]
  32. It's pretty much what you'd expect if you built Clojure on .NET and used OCaml as a base instead of lisp. (edited)
  33.  
  34. bronsa [23:41]
  35. that doesn't actually sound too terrible :)
  36.  
  37. dpsutton [23:41]
  38. Microsoft have really good tooling and language designers as well
  39.  
  40. tbaldridge [23:41]
  41. If Clojure didn't exist I'd probably be doing F# instead, I rather like it.
  42.  
  43. fellshard [23:45]
  44. F#'s tooling was pretty rough last I tried. It also ends up being pretty verbose at times.
  45.  
  46. bronsa [23:46]
  47. TBF so is ocaml's tooling IMO
  48.  
  49. fellshard [23:46]
  50. Want to like it, but it def. suffers from MS' documentation problems
  51.  
  52. seancorfield [23:46]
  53. I really like F# (what little I've used it). The providers stuff is awesome.
  54.  
  55. bronsa [23:46]
  56. using ocaml's tooling feels like using common lisp before quicklisp was a thing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement