Post AVyYPvgFXcyhjCeMCW by otini@functional.cafe
 (DIR) More posts by otini@functional.cafe
 (DIR) Post #AVyYPvgFXcyhjCeMCW by otini@functional.cafe
       2023-04-28T10:45:00Z
       
       2 likes, 1 repeats
       
       Mutating code is bad, so let me turn it into purely functional code and then use syntax shims to make it look exactly like my original mutating code
       
 (DIR) Post #AVyYPxbiNSXThiXlPU by otini@functional.cafe
       2023-04-28T13:22:19Z
       
       0 likes, 0 repeats
       
       (true story from this morning)
       
 (DIR) Post #AVya86aATAcIEfQxAe by civodul@toot.aquilenet.fr
       2023-05-24T09:42:36Z
       
       0 likes, 0 repeats
       
       @otini  The essence of the ‘do’ notation dear to Haskellers? :-)
       
 (DIR) Post #AVya87SlCCHkxyyYGO by alice@bidule.menf.in
       2023-05-24T09:45:23.055654Z
       
       0 likes, 0 repeats
       
       @civodul Honestly I seldom use it for mutating code. To me it's just a `let` that can look inside the current monad : ) @otini
       
 (DIR) Post #AW0Sx8tLEUIiqi9CK0 by otini@functional.cafe
       2023-05-24T19:44:06Z
       
       0 likes, 0 repeats
       
       @alice @civodul sure. Only on this occasion I rewrote an OCaml imperative piece of code in monadic style, then I wondered why I had done that as it is now a slightly obfuscated and less efficient version of the original 😄
       
 (DIR) Post #AW0Sx9TV43Dyer44gK by alice@bidule.menf.in
       2023-05-25T07:34:23.552027Z
       
       0 likes, 0 repeats
       
       @otini haha, the unending loop of "hey, this sum could be factorized, now wait ! this product is a bit hard to grasp, why don't I just develop it? I'm sure some terms will simplify" @civodul