this post was submitted on 19 Apr 2024
513 points (98.1% liked)

Programmer Humor

19551 readers
1012 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] victorz@lemmy.world 1 points 6 months ago (1 children)

Cool! Thank you for sharing!

I just recently read the man page for GNU Parallel, and that seems like a pretty nifty tool to generate permutations of data as well. It's command-line so great for scripts, utilizes many cores, quick to do without mind-bending Haskell project setup, etc..., for anyone interested. ๐Ÿ™‚๐Ÿ‘

[โ€“] CanadaPlus@lemmy.sdf.org 1 points 6 months ago (1 children)

I'll look into it, although this probably wasn't directed at me. GHC can compile multi-threaded, and "setup" here was just opening GHCi and starting, and then moving it into files once it got large enough I didn't want to repeat the work, so I'm happy.

[โ€“] victorz@lemmy.world 2 points 6 months ago

I still haven't been able to learn project setup with Haskell and know exactly what I'm doing lol. But I'm glad you have a working setup! But yeah, do look into parallel if you want, maybe it can prove useful, or not. It was directed at you, considering your use case of generating permutations. :-)

Take care!