エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Magical Monoids
Recently something caught my eye while hacking on a Haskell project. Pay attention to the mempty ... Recently something caught my eye while hacking on a Haskell project. Pay attention to the mempty in the code fragment below: readTextFileUtf8 :: FilePath -> IO (Either Utf8Error T.Text) readTextFileUtf8 filename = {- ... -}-- | Return "" in case of errors lenientReadTextFileUtf8 :: FilePath -> IO T.Text lenientReadTextFileUtf8 filename = do result <- readTextFileUtf8 filename pure $ either (\_ ->



2019/05/02 リンク