Skip to content
View Daenyth's full-sized avatar

Organizations

@Arch-Games @Cockatrice

Block or report Daenyth

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Cockatrice/Cockatrice Cockatrice/Cockatrice Public

    A cross-platform virtual tabletop for multiplayer card games

    C++ 1.6k 455

  2. taklib taklib Public

    A scala library for the Tak board game

    Scala 16

  3. intro-cats-effect intro-cats-effect Public

    Slides and video recording for my "Intro to Cats-Effect" talk

    HTML 26 3

  4. Designing an fs2 `Pull` from scratch Designing an fs2 `Pull` from scratch
    1
    ## The problem
    2
    
                  
    3
    I have some data which has adjacent entries that I want to group together and perform actions on.
    4
    I know roughly that `fs2.Pull` can be used to "step" through a stream and do more complicated
    5
    logic than the built in combinators allow. I don't know how to write one though!
  5. Cheat sheet for common cats monad an... Cheat sheet for common cats monad and fs2 operation shapes
    1
    | Operation | Input | Result | Notes |
    2
    | --- | --- | --- | --- |
    3
    | map | `F[A]` , `A => B` | `F[B]` | Functor |
    4
    | apply | `F[A]` , `F[A => B]` | `F[B]` | Applicative |
    5
    | (fa, fb, ...).mapN | `(F[A], F[B], ...)` , `(A, B, ...) => C` | `F[C]` | Applicative
  6. Scala (cats) map/traverse parallels Scala (cats) map/traverse parallels
    1
    ### Parallels between `map` and similar functions
    2
    ```
    3
    map          :: F[A] => (A =>     B)   => F[B]
    4
    flatMap      :: F[A] => (A =>   F[B])  => F[B]
    5
    traverse     :: G[A] => (A =>   F[B])  => F[G[B]]