Skip to content

Instantly share code, notes, and snippets.

View unrooted's full-sized avatar

unrooted

View GitHub Profile
@graninas
graninas / haskeller_competency_matrix.md
Last active April 8, 2025 16:34
Haskeller competency matrix
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/
@martijnvermaat
martijnvermaat / nixos.md
Last active May 6, 2025 02:13
Installation of NixOS with encrypted root
@heathermiller
heathermiller / scala-cheatsheet.md
Last active January 11, 2025 17:16
Scala Cheatsheet

This cheat sheet originated from the forum, credits to Laurent Poulain. We copied it and changed or added a few things.

Evaluation Rules

  • Call by value: evaluates the function arguments before calling the function
  • Call by name: evaluates the function first, and then evaluates the arguments if need be
    def example = 2      // evaluated when called
    val example = 2      // evaluated immediately