Re:What I wish I knew when learning F#
by ghostwriter on Thursday October 14, 2021 @12:51PM
(#28866727)
Haskell allows this too, users can just code everything within IO until they feel comfortable with adding extra purity through refactoring:
[ Parent
| on HN ]
Re:What I wish I knew when learning F#
by dboreham on Thursday October 14, 2021 @01:35PM
(#28867364)
True. Perhaps my issue is that I know how that's implemented and my brain can't see it the same as sequential statement execution ;)
Re:What I wish I knew when learning F#
by JoelMcCracken on Thursday October 14, 2021 @03:19PM
(#28868731)
This is a function of familiarity though. Get familiar with it and you'll understand it just fine.
If you want to talk more about it, feel free to email me.
I think dboreham's objection was exactly the opposite!
Re:What I wish I knew when learning F#
by JoelMcCracken on Thursday October 14, 2021 @03:56PM
(#28869172)
Idk i mean simply knowing what the code for >> looks like doesn't mean you're used to thinking in that way.
There was a time years ago when someone was showing me the types of (>>) and (>>=) in Haskell and my question was "ok, but what does that have to do with IO?!?"