[-] Crazazy@feddit.nl 1 points 1 month ago

Netherlands :)

[-] Crazazy@feddit.nl 1 points 1 month ago

I live in the Netherlands

[-] Crazazy@feddit.nl 1 points 2 months ago

I would put Russel's reaction in "sehr Mäßig" and Toto's reaction under "was hab' mich überkommen 😭"

[-] Crazazy@feddit.nl 1 points 2 months ago

Yeah if you play ssf you sidestep these problems entirely and then the only problem you might have is simply just inventory management (which also only comes up in the lategame)

[-] Crazazy@feddit.nl 1 points 3 months ago* (last edited 3 months ago)

As a nix user, guix looks legit nice but it took me until 2 days ago to actually find community projects made for guix(https://whereis.みんな/) . Sometimes I just wish they used the same store and daemon as nix so that nix packages can work as guix dependencies and vice versa.

(Also major thing stopping me from using guix is I don't get service types at all, let alone how you'd define your own service :( )

[-] Crazazy@feddit.nl 1 points 1 year ago

Alright as someone who likes Haskell and has dabbled in unison before, I believe I can answer all these questions for you:

  • Why is helloWorld there twice?

It is common in languages like haskell and ocaml to first mention the type of a function, so in this case:

  • the type of helloWorld is '{IO, Exception} (). That is it's type signature (important for later)
  • the implementation of helloWorld is \_ -> println "Hello, World!"
  • What's the ' for?
  • What are the () for?

Here is where I have to get into the nitty gritty of how unison actually works. Unison has what programming language researchers call an effect system. The type signature of helloWorld indicates that it can perform the IO and Exception types of side effects, and these need to be handled. (in this case, they are handled by the compiler, but other types of side effects can be handled by the programmer themselves)
However, for reasons Unison does not like dealing with eagerly evaluated non-function values with side effects. For this reason, there is '. Essentially, what it does is turn a value into a function that accepts () as it's argument. We could therefore say that the type signature of helloWorld is also () -> {IO, Exception} (). The last () indicates that, next to it's IO and Exception side effects, it also returns () as a value. This is because, in functional programming languages, all functions need to return values (or run infinitely, but that is for another topic)

Now I've been used to functional programming for quite a while now, so things that seem natural to me can be absolutely woozy for anyone not used to this paradigm. So if anything still feels vague to you feel free to comment

[-] Crazazy@feddit.nl 1 points 1 year ago* (last edited 1 year ago)

I know 5 year old me would have a little trouble sleeping from some of the sounds (example when you pick up an orb) coming from noita, never mind the occasional worm or kummitus jumpscare

[-] Crazazy@feddit.nl 1 points 1 year ago

I decided to load up tropix again. The game is so much more simplistic than I remember it being when I was like 9

[-] Crazazy@feddit.nl 1 points 1 year ago

Meh, I think the people that are interested in the spacebattles thread will have found it through other means like HN. As for discussing the events as they unfold I think that's best left to the forum itself, rather than discuss it at a proxy on Lemmy

view more: ‹ prev next ›

Crazazy

joined 1 year ago