Stefan Wullems

Results 7 comments of Stefan Wullems

It seems like `stefan.wullems` really is the user: ``` $ (id -un && cachix use scrive) stefan.wullems cachix: /Users/stefan.wullems/.config/nix/netrc: openBinaryFile: permission denied (Permission denied) ``` I think I have strange...

``` $ ls -ld ~/.config/nix drwxr-xr-x 4 root staff 128 22 Dec 15:47 /Users/stefan.wullems/.config/nix ``` ``` $ ls -ld ~/.config/nix/netrc -rw-r--r-- 1 root staff 181 22 Dec 16:50 /Users/stefan.wullems/.config/nix/netrc ```

For the slots, props and events, I would lose the `Component` prefix: - `ComponentSlots` -> `Slots` - `ComponentProps` -> `Props` - `ComponentEvents` -> `Events` Then finally `ComponentDef` -> `Component`. Doesn't...

Perhaps separating the type definition from the logic of a component would work nicely. ```html interface Component { props: { value: T } events: { change: (value: T) => void...

For all `sum` simplifications: ```elm List.foldl (+) 0 data — List.sum data ``` Can become: ```elm List.foldl (+) n data — List.sum data + n ```

```elm Maybe.andThen (\a_ -> Maybe.map (\b_ -> f a b) b) a -- Maybe.map2 f a b ``` ```elm Result.andThen (\a_ -> Result.map (\b_ -> f a b) b) a...

> Have you seen these often in practice? I personally tend to write it in the first way and then realize I can write it with mapN, which results in...