Post AFMLTeETyreUtj6IlM by zatnosk@manowar.social
 (DIR) More posts by zatnosk@manowar.social
 (DIR) Post #AFMKnGdRKE6VY6Z7o0 by zatnosk@manowar.social
       2022-01-12T08:57:53Z
       
       0 likes, 0 repeats
       
       I want a programming language where a program is defined as a graph of * values* calculations (= functions, possibly only the pure kind?)* I/O?The compiler and/or runtime then figure out how to organize all the calculations and the I/O and how to store/manage the values, so the expected values are calculated when needed.Does this exist already?What am I missing to make it work?(Is this just a lisp with weird syntax?)#WildIdea
       
 (DIR) Post #AFMKnH1XsbO0krqNNY by jeena@toot.jeena.net
       2022-01-12T09:00:49Z
       
       0 likes, 0 repeats
       
       @zatnosk I would say this sounds like Haskell.
       
 (DIR) Post #AFMKv0cIlUOwBZizfk by jeena@toot.jeena.net
       2022-01-12T09:02:19Z
       
       0 likes, 0 repeats
       
       @zatnosk and the magic word in Haskell is lazy evaluation: https://wiki.haskell.org/Lazy_evaluation
       
 (DIR) Post #AFMLTeETyreUtj6IlM by zatnosk@manowar.social
       2022-01-12T09:05:38Z
       
       0 likes, 0 repeats
       
       @jeena Haskell is probably the closest to what I'm imagining, now that you mention it. It's been years since I've used it myself, so it's fallen into the "weird lisp" category (aka most functional languages) in my brain.I'm not sure it allows for the graph structure I dream of here, though..That would need some investigation on my part.