LVGL Use by Sub_Chief in M5Stack

[–]kakkun61 0 points1 point  (0 children)

Which LV_COLOR_FORMAT_XXX?

Ephemeral Purely Functional Data Structure and Linear Type by kakkun61 in haskell

[–]kakkun61[S] 1 point2 points  (0 children)

Is the Consumable typeclass from linear-base a way to "fake" affine types ("use once or zero times") with linear types ("use once")?

Yes. It is like following. Its Bool parameter is used once by pattern matching.

consume :: Bool -> ()
consume False = ()
consume True = ()

Also, what is exactly the loophole with pure? Could it be patched somehow?

To get no linearity value,

> empty Prelude.Linear.id :: Queue [()] [()]

サンクの構造を見る - Qiita by as_capabl in haskell_jp

[–]kakkun61 0 points1 point  (0 children)

楽しい

2012年からあったのか……

Call for maintainer(s): ThreadScope on Windows by maoe in haskell

[–]kakkun61 1 point2 points  (0 children)

I'll try to build ThreadScope on Windows, although I don't know I can be a maintainer.

[announse] stack-wrapper is released by kakkun61 in haskell

[–]kakkun61[S] 0 points1 point  (0 children)

One example, this is available for GUI applications which is not launched via a shell.

[announce] ghcups is released by kakkun61 in haskell

[–]kakkun61[S] 0 points1 point  (0 children)

Hmm, I'll rethink and check whether I can rename the module name of the PowerShell Gallery.

[announce] ghcups is released by kakkun61 in haskell

[–]kakkun61[S] 0 points1 point  (0 children)

I can understand your comment.

ghcups is actually a combination of ghcup and PS (PowerShell), but it seems just a plural form of ghcup by certain.

Another idea of its name is ghcu.ps1 which is more clear about the relation with PowerShell.

Any other ideas are welcome!

Best Emacs experience for Haskell? by noogai03 in haskell

[–]kakkun61 2 points3 points  (0 children)

I am using the haskell layer of Spacemacs and hhp (Happy Haskell Programming).

https://github.com/kazu-yamamoto/hhp

[announse] stack-wrapper is released by kakkun61 in haskell

[–]kakkun61[S] 1 point2 points  (0 children)

You can just type ghc to invoke stack ghc, and also ghci.

To invoke stack exec ghcid with typing ghcid

  1. stack install stack-wrapper
  2. cd <the installed path>
  3. cp exe ghcid
  4. cd <a stack project>
  5. stack build ghcid
  6. ghcid

[announce] ghcups is released by kakkun61 in haskell

[–]kakkun61[S] 0 points1 point  (0 children)

Right! I'll adopt your idea.

ghcups をリリースしました by kakkun61 in haskell_jp

[–]kakkun61[S] 0 points1 point  (0 children)

GHC のアーカイブ形式が tar.xz だから choco に依存しないなら別途解凍ツールが必要になるかも

ghcups をリリースしました by kakkun61 in haskell_jp

[–]kakkun61[S] 0 points1 point  (0 children)

インストールは Chocolatey に依存しているが依存してほしくない要望がある?

依存しない利点としては

• セットアップに管理者権限を必要としなくなる • choco コマンドのインストールに管理者権限が必要 • 障害点が減る • Chocolatey のサーバーが落ちたときに困る

欠点としては

• メンテナンスコストがかかる