Why Nostr? What is Njump?
2023-10-24 10:16:56
in reply to

Leonard/Janis Robert König on Nostr: That being said, is there a more elegant way to implement something like this: ``` ...

That being said, is there a more elegant way to implement something like this:

```
ghci> decider x = if x < 0 then ([x],[]) else ([],[x])
ghci> foldMap (decider) [-3,5,0,-1,6,2,-1]
([-3,-1,-1],[5,0,6,2])
```
Author Public Key
npub1uf6cu9nwq4tvcrgeahfxf2mx9ppq4nxdldf22a0kmhtuk7dq2mjqmm774h