はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    ブラックフライデー

『Well-Typed - The Haskell Consultants』

  • 人気
  • 新着
  • すべて
  • DWARF support in GHC (part 1)

    8 users

    www.well-typed.com

    This post is the first of a series examining GHC’s support for DWARF debug information and the tooling that this support enables: Part 1 introduces DWARF debugging information and explains how its generation can be enabled in GHC. Part 2 looks at a DWARF-enabled program in gdb and examines some of the limitations of this style of debug information. Part 3 looks at the backtrace support of GHC’s ru

    • テクノロジー
    • 2020/04/05 20:24
    • Haskell
    • GHC
    • プログラミング
    • あとで読む
    • Unrolling data with Backpack

      4 users

      www.well-typed.com

      A co-worker of mine had a random thought on IRC: Is data type “unrolling” a valid performance optimization? Used anywhere? Something like: data List a = Nil | Cons a {-# Unroll 10 #-} (List a) I thought, that sounds like the vec package I wrote. One module there uses the GADT definition data Vec (n :: Nat) a where VNil :: Vec 'Z a (:::) :: a -> Vec n a -> Vec ('S n) a which in some cases optimizes

      • テクノロジー
      • 2019/11/01 22:19
      • Backpack
      • Haskell
      • プログラミング
      • Semi-Formal Development: The Cardano Wallet

        3 users

        www.well-typed.com

        Now suppose Bob wants to transfer $50 to Dave. He can create a new transaction that says “take the first output of transaction t1, transfer $50 to Dave and transfer $20 back to me”.1 t2 It is important that Bob transfers the $20 “change” back to himself, because a transaction output can be “spent” (that is, used as an input) only once. This style of transactions is called “UTxO” style; UTxO stands

        • テクノロジー
        • 2018/06/02 07:44
        • Haskell
        • Objects with special collection routines in GHC's GC

          4 users

          www.well-typed.com

          A generational copying garbage collector, in its most basic form, is quite simple. However, as we’ll see, not all objects can be copied, and some objects require more bookkeeping by the RTS. In this post we’re going to look at these type of objects that require special treatment from the garbage collector (GC in short). For each type of object we’ll look at how they’re allocated and collected. Eac

          • テクノロジー
          • 2018/05/15 23:53
          • Haskell
          • Object Oriented Programming in Haskell

            5 users

            www.well-typed.com

            In object oriented programming an object is a value with a well-defined interface. The internal state of the object is closed to the outside world (encapsulation), but the behaviour of an object can be modified by redefining one or more of the functions in the object’s interface, typically through subclasses (inheritance). The internal state of the object is open to, and can be extended by, such s

            • テクノロジー
            • 2018/03/09 01:09
            • Haskell
            • Efficient Amortised and Real-Time Queues in Haskell

              3 users

              www.well-typed.com

              A queue is a datastructure that provides efficient—O(1)—operations to remove an element from the front of the queue and to insert an element at the rear of the queue. In this blog post we will discuss how we can take advantage of laziness to implement such queues in Haskell, both with amortised and with worst-case O(1) bounds. The results in this blog post are not new, and can be found in Chris Ok

              • テクノロジー
              • 2016/01/15 21:48
              • Haskell
              • Algorithm
              • Dependently typed servers in Servant

                7 users

                www.well-typed.com

                Suppose we have a webserver that can perform different kinds of operations on different kinds of values. Perhaps it can reverse or capitalize strings, and increment or negate integers: # curl http://localhost:8081/example/reverse elpmaxe # curl http://localhost:8081/example/caps EXAMPLE # curl http://localhost:8081/1234/inc 1235 # curl http://localhost:8081/1234/neg -1234 Moreover, it can echo bac

                • テクノロジー
                • 2015/12/02 20:16
                • Haskell
                • api
                • Implementing a minimal version of haskell-servant

                  10 users

                  www.well-typed.com

                  Recently, there was a question on Stack Overflow on how Servant actually works. Others were quick to suggest the Servant paper as a thorough explanation of the approach and the implementation. As a co-author, I’m obviously happy if the paper is being read, but it’s also 12 pages long in two-column ACM style. And while it explains the implementation, it does not necessarily make it easier to start

                  • テクノロジー
                  • 2015/11/04 20:52
                  • Haskell
                  • あとで読む
                  • Lightweight Checked Exceptions in Haskell

                    4 users

                    www.well-typed.com

                    -- | Download the specified URL (..) -- -- This function will 'throwIO' an 'HttpException' for (..) simpleHttp :: MonadIO m => String -> m ByteString Notice that part of the semantics of this function—that it may throw an HttpException—is encoded in a comment, which the compiler cannot check. This is because Haskell’s notion of exceptions offers no mechanism for advertising to the user the fact th

                    • テクノロジー
                    • 2015/07/31 20:03
                    • Haskell
                    • あとで読む
                    • Parametricity Tutorial (Part 1)

                      6 users

                      www.well-typed.com

                      A powerful feature of Haskell’s type system is that we can deduce properties of functions by looking only at their type. For example, a function of type can only be the identity function: since it must return something of type a, for any type a, the only thing it can do is return the argument of type a that it was given (or crash). Similarly, a function of type can only do one of two things: eithe

                      • テクノロジー
                      • 2015/05/25 08:12
                      • Haskell
                      • あとで読む
                      • OverloadedRecordFields revived

                        4 users

                        www.well-typed.com

                        Way back in the summer of 2013, with support from the Google Summer of Code programme, I implemented a GHC extension called OverloadedRecordFields to address the oft-stated desire to improve Haskell’s record system. This didn’t get merged into GHC HEAD at the time, because the implementation cost outweighed the benefits. Now, however, I’m happy to report that Well-Typed are sponsoring the work req

                        • テクノロジー
                        • 2015/03/31 13:24
                        • Haskell
                        • GHC
                        • Qualified Goals in the Cabal Solver

                          7 users

                          www.well-typed.com

                          When you ask cabal-install to install one or more packages, it needs to solve a constraint satisfaction problem: select a version for each of the packages you want to install, plus all their dependencies, such that all version constraints are satisfied. Those version constraints come both from the user (“please install lens version 4”) and from the packages themselves (“this package relies on mtl

                          • テクノロジー
                          • 2015/03/28 12:04
                          • Cabal
                          • Haskell
                          • How we might abolish Cabal Hell, part 2

                            3 users

                            www.well-typed.com

                            In part 1 we looked at an overview of all the various problems that make up “Cabal hell”. We also looked at an overview of a few solutions and how they overlap. In part 2 and part 3 we’ll look in more detail at the two major solutions to Cabal hell. In this post we’ll look at Nix-style package management, and in the next post we’ll look at curated package collections. A reminder about what the pro

                            • テクノロジー
                            • 2015/01/31 07:52
                            • Cabal
                            • あとで読む
                            • Quasi-quoting DSLs for free

                              6 users

                              www.well-typed.com

                              Suppose you are writing a compiler for some programming language or DSL. If you are doing source to source transformations in your compiler, perhaps as part of an optimization pass, you will need to construct and deconstruct bits of abstract syntax. It would be very convenient if we could write that abstract syntax using the syntax of your language. In this blog post we show how you can reuse your

                              • テクノロジー
                              • 2014/10/19 23:46
                              • Haskell
                              • GHC
                              • DSL
                              • あとで読む
                              • How we might abolish Cabal Hell, part 1

                                9 users

                                www.well-typed.com

                                At ICFP a few weeks ago a hot topic in the corridors and in a couple talks was the issues surrounding packaging and “Cabal Hell”. Fortunately we were not just discussing problems but solutions. Indeed I think we have a pretty good understanding now of where we want to be, and several solutions are in development or have reasonably clear designs in peoples’ heads. I want to explain what’s going on

                                • テクノロジー
                                • 2014/09/30 21:42
                                • haskell
                                • cabal
                                • Understanding the Stack

                                  6 users

                                  www.well-typed.com

                                  One of our clients sent us a bug report, which consisted of a 700 line Haskell program with a complaint that “it deadlocks”. After studying the code I concluded that, for the sake of the bug report, it could be summarized as print a bunch of stuff, then crash with a stack overflow So I wanted to replace the original code with code that did just that: print a bunch of stuff, then crash with a stack

                                  • テクノロジー
                                  • 2014/05/21 21:32
                                  • haskell
                                  • GHC
                                  • Fixing foldl

                                    8 users

                                    www.well-typed.com

                                    The foldl function is broken. Everyone knows it’s broken. It’s been broken for nearly a quarter of a century. We should finally fix it! Today I am proposing that Prelude.foldl be redefined using the implementation currently known as Data.List.foldl'. foldl is broken! I’m sure you knew that already, but just in case… Have you ever noticed that Haskellers usually recommend using either foldr or fold

                                    • テクノロジー
                                    • 2014/04/01 19:55
                                    • haskell
                                    • あとで読む
                                    • Fun and Profit with Strongly-Typed Data Schemas

                                      4 users

                                      www.well-typed.com

                                      Over the past few months, Duncan and I have been working with Chris Dornan and Alfredo Di Napoli on api-tools, a DSL for specifying data schemas for REST-like APIs in Haskell. If you’re interested in the real-world use of Haskell, static types and DSLs, why not come along to hear Chris talk about it? Wednesday 9th April, 6:30pm, London Find out more and register for free over at Skills Matter: Typ

                                      • テクノロジー
                                      • 2014/04/01 18:48
                                      • Haskell
                                      • API
                                      • Performance profiling with ghc-events-analyze - Well-Typed - The Haskell Consultants

                                        6 users

                                        www.well-typed.com

                                        ghc-events-analyze is a new simple Haskell profiling tool that uses GHC's eventlog system. It helps with some profiling use cases that are not covered by the existing GHC profiling modes or tools. It has two major features: While ThreadScope shows CPU activity across all your cores, ghc-events-analyze shows CPU activity across all your Haskell threads.It lets you label periods of time during progr

                                        • テクノロジー
                                        • 2014/02/13 14:24
                                        • haskell
                                        • profiling
                                        • GHC
                                        • GHC 7.8 first release candidate

                                          6 users

                                          www.well-typed.com

                                          This is the first blog post by our colleague Austin. Austin is one of our GHC engineers, part of the GHC HQ team and carries the heavy burden of being GHC release manager. Today, GHC 7.8.1 RC1 has been released after many months of work, with a huge number of new features. There are some great highlights in the new release, including: A host of I/O manager improvements, which results in significan

                                          • テクノロジー
                                          • 2014/02/04 08:08
                                          • GHC
                                          • haskell
                                          • Overloaded record fields for GHC - Well-Typed - The Haskell Consultants

                                            7 users

                                            www.well-typed.com

                                            TL;DR: GHC HEAD (but not GHC 7.8) will soon support OverloadedRecordFields, an extension to permit datatypes to reuse field labels and even turn them into lenses. IntroductionThe Haskell records system is a frequent source of frustration to Haskell programmers working on large projects. On the face of it, it is simple: a datatype such as data Person = Person { id :: Int, name :: String } gives ris

                                            • テクノロジー
                                            • 2013/11/30 09:06
                                            • Haskell
                                            • GHC
                                            • Communication Patterns in Cloud Haskell (Part 3)

                                              3 users

                                              www.well-typed.com

                                              Map-ReduceIn Part 1 and Part 2 of this series we described a number of ways in which we might compute the number of prime factors of a set of numbers in a distributed manner. Abstractly, these examples can be described as a problem (computing the number of prime factors of 100 natural numbers) is split into subproblems (factorizing each number), those subproblems are solved by slave nodes, and the

                                              • テクノロジー
                                              • 2012/10/12 20:18
                                              • Communication Patterns in Cloud Haskell (Part 1)

                                                8 users

                                                www.well-typed.com

                                                Master-Slave, Work-Stealing and Work-PushingIn this series (2,3,4) of blog posts we will describe a number of basic communication patterns in Cloud Haskell. We don't assume much familiarity with Cloud Haskell, but it will probably be useful to be familiar with the basics; Towards Haskell in the Cloud (Epstein, Black and Peyton Jones, Haskell Symposium 2011) is a good starting point. We will start

                                                • テクノロジー
                                                • 2012/10/06 02:32
                                                • Haskell
                                                • *あとで
                                                • The New Cloud Haskell

                                                  3 users

                                                  www.well-typed.com

                                                  The new implementationFor about the last year we have been working on a new implementation of Cloud Haskell. This is the same idea for concurrent distributed programming in Haskell that Simon Peyton Jones has been telling everyone about, but it's a new implementation designed to be robust and flexible. The summary about the new implementation is that it exists, it works, it's on hackage, and we th

                                                  • テクノロジー
                                                  • 2012/10/05 03:10
                                                  • Well-Typed - The Haskell Consultants

                                                    5 users

                                                    www.well-typed.com

                                                    From our blog Developing an application from scratch (Haskell Unfolder #46) Andres Löh, Edsko de Vries Wednesday, 09 July 2025 Haskell records in 2025 (Haskell Unfolder #45) Andres Löh, Edsko de Vries Wednesday, 25 June 2025 info@well-typed.com | Company information | Privacy | Cookies | Copyright © 2008–2025 Well-Typed LLP

                                                    • テクノロジー
                                                    • 2010/02/14 00:23
                                                    • Haskell
                                                    • company

                                                    このページはまだ
                                                    ブックマークされていません

                                                    このページを最初にブックマークしてみませんか?

                                                    『Well-Typed - The Haskell Consultants』の新着エントリーを見る

                                                    キーボードショートカット一覧

                                                    j次のブックマーク

                                                    k前のブックマーク

                                                    lあとで読む

                                                    eコメント一覧を開く

                                                    oページを開く

                                                    はてなブックマーク

                                                    • 総合
                                                    • 一般
                                                    • 世の中
                                                    • 政治と経済
                                                    • 暮らし
                                                    • 学び
                                                    • テクノロジー
                                                    • エンタメ
                                                    • アニメとゲーム
                                                    • おもしろ
                                                    • アプリ・拡張機能
                                                    • 開発ブログ
                                                    • ヘルプ
                                                    • お問い合わせ
                                                    • ガイドライン
                                                    • 利用規約
                                                    • プライバシーポリシー
                                                    • 利用者情報の外部送信について
                                                    • ガイドライン
                                                    • 利用規約
                                                    • プライバシーポリシー
                                                    • 利用者情報の外部送信について

                                                    公式Twitter

                                                    • 公式アカウント
                                                    • ホットエントリー

                                                    はてなのサービス

                                                    • はてなブログ
                                                    • はてなブログPro
                                                    • 人力検索はてな
                                                    • はてなブログ タグ
                                                    • はてなニュース
                                                    • ソレドコ
                                                    • App Storeからダウンロード
                                                    • Google Playで手に入れよう
                                                    Copyright © 2005-2025 Hatena. All Rights Reserved.
                                                    設定を変更しましたx