ThreadSky
About ThreadSky
Log In
aether.gay
•
90 days ago
they should add objects to haskell
Comments
Log in
with your Bluesky account to leave a comment
[–]
brendanzab.bsky.social
•
89 days ago
- O’Haskell
https://web.archive.org/web/20090517021445/http://www.cs.chalmers.se/~nordland/ohaskell/
- “Haskell’s overlooked object system”
https://arxiv.org/abs/cs/0509027
- “Object Oriented Programming in Haskell”
https://www.well-typed.com/blog/2018/03/oop-in-haskell/
3
2
reply
[–]
programingisthefuture.com
•
89 days ago
https://ocaml.org/manual/5.3/objectexamples.html
😭
2
1
reply
[–]
brendanzab.bsky.social
•
89 days ago
Yeah! OCaml’s row polymorphic object system is actually quite interesting, even if the syntax is incredibly goofy looking. Some more resources and background:
-
https://dev.realworldocaml.org/objects.html
-
https://dev.realworldocaml.org/classes.html
-
https://ocaml.org/docs/objects
-
https://caml.inria.fr/pub/papers/remy_vouillon-objective_ml-tapos98.pdf
1
reply
[–]
aether.gay
•
89 days ago
or, the funnier option, which is to accept that haskell already has an object system in the form of cofree comonads :3
2
1
reply
[–]
brendanzab.bsky.social
•
89 days ago
I approve :3
1
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments
- “Haskell’s overlooked object system” https://arxiv.org/abs/cs/0509027
- “Object Oriented Programming in Haskell” https://www.well-typed.com/blog/2018/03/oop-in-haskell/
😭
- https://dev.realworldocaml.org/objects.html
- https://dev.realworldocaml.org/classes.html
- https://ocaml.org/docs/objects
- https://caml.inria.fr/pub/papers/remy_vouillon-objective_ml-tapos98.pdf