News for hackers. Stuff that matters.
Re:Reanimate: Haskell library for building declarative anima... by secdeal on Wednesday December 21, 2022 @07:29AM (#34079799)
> Now what I'm really curious about is why [...] a simple 59-line example, is using unsafePerformIO

It seems to me that they are using the physics engine Chipmunk2D for that Animation which has bindings with IO in their signature.

Re:Reanimate: Haskell library for building declarative anima... by lilyball on Wednesday December 21, 2022 @04:08PM (#34086419)
The Reanimate site says that it ships with Chipmunk2D, and the example I linked shows both

  import Chiphunk.Low
  import Reanimate.Chiphunk
However I can't find any reference to Reanimate.Chiphunk anywhere, and if I search the repo for "chiphunk" I just see this example file, the readme, and a couple of YAML files. So I am very confused now.