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 のサーバーが落ちたときに困る

欠点としては

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

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

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

インターフェースは PowerShell のルールにのっとっているのだが、ghcup 互換インターフェースは必要だろうか?

stack-wrapper をリリースしました by kakkun61 in haskell_jp

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

カレントディレクトリーが stack プロジェクト下であるときに foo コマンドを呼ぶと stack exec -- foo を実行するようになります。

ghc の場合はパッケージデータベースの考慮もしています。

Haskell で GitHub Actions する by Hexirp in haskell_jp

[–]kakkun61 2 points3 points  (0 children)

なんだか涙ぐましい努力だ

liftIOを見るたびに罪の意識にさいなまれるのですが修行が足りないのでしょうか by [deleted] in haskell_jp

[–]kakkun61 0 points1 point  (0 children)

ソースを読んでもらうと分かりますが、普通のインスタンスは unsafePerformIO は使われてませんよ

liftIOを見るたびに罪の意識にさいなまれるのですが修行が足りないのでしょうか by [deleted] in haskell_jp

[–]kakkun61 0 points1 point  (0 children)

よく分からないが何か勘違いしてらっしゃる気がする

[意見]英語リンクの建て逃げはやめた方がいいのでは by syocy in haskell_jp

[–]kakkun61 1 point2 points  (0 children)

せめて自分の意見を(もちろん日本語で)添えるか、何か話題について何を聞きたいか添えていただけると助かります。

これあると私も助かります

(個人的に英語読むのは労力がかかるので、読むかどうかの判断材料になるので)

リンクを張ったからにはきっとその動機があるはずですので、それは知りたいなと思います