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

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

アプリで開く

はてなブックマーク

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

はてなブックマーク

トップへ戻る

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

    新内閣発足

『Typelevel | Home』

  • 人気
  • 新着
  • すべて
  • Typelevel

    4 users

    typelevel.org

    The Scala compiler has to do a lot of work to turn your code into jvm bytecode that can be executed. For several reasons, this work is broken into steps which are executed sequentially, the so called phases of the compiler. The Phases If you want to see the phases listed, simply run in your terminal: $ scalac -Xshow-phases Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 phase name id descriptio

    • テクノロジー
    • 2019/04/22 22:52
    • Type Classes

      3 users

      typelevel.org

      Type Classes Type classes are a powerful tool used in functional programming to enable ad-hoc polymorphism, more commonly known as overloading. Where many object-oriented languages leverage subtyping for polymorphic code, functional programming tends towards a combination of parametric polymorphism (think type parameters, like Java generics) and ad-hoc polymorphism. Example: collapsing a list The

      • テクノロジー
      • 2018/03/27 17:10
      • Typelevel | API Design for Heaps (aka Priority Queues)

        4 users

        typelevel.org

        This is a guest post by Chris Okasaki. It was initially published as the design document behind scads. It is being republished here with the permission of the original author. A heap (or priority queue) is a collection of elements ordered by some Ordering, optimized for retrieving the first element according to that ordering. Duplicate elements are allowed. Applications vary in whether they need t

        • テクノロジー
        • 2016/11/18 21:07
        • Typelevel | Higher-kinded types: the difference between giving up, and moving forward

          3 users

          typelevel.org

          Higher-kinded types: the difference between giving up, and moving forward As its opening sentence reminds the reader—a point often missed by many reviewers—the book Functional Programming in Scala is not a book about Scala. This [wise] choice occasionally manifests in peculiar ways. For example, you can go quite far into the book implementing its exercises in languages with simpler type systems. C

          • テクノロジー
          • 2016/08/23 10:54
          • Scala
          • Cats

            3 users

            typelevel.org

            Cats Overview Cats is a library which provides abstractions for functional programming in the Scala programming language. Scala supports both object-oriented and functional programming, and this is reflected in the hybrid approach of the standard library. Cats strives to provide functional programming abstractions that are core, binary compatible, modular, approachable and efficient. A broader go

            • テクノロジー
            • 2016/05/28 11:10
            • Scala
            • programming
            • Cats

              3 users

              typelevel.org

              Cats Overview Cats is a library which provides abstractions for functional programming in the Scala programming language. Scala supports both object-oriented and functional programming, and this is reflected in the hybrid approach of the standard library. Cats strives to provide functional programming abstractions that are core, binary compatible, modular, approachable and efficient. A broader go

              • テクノロジー
              • 2016/05/28 11:10
              • Typelevel | Primitive recursion with fix and Mu

                4 users

                typelevel.org

                Consider the simple cons-list datatype. import scalaz.Equal, scalaz.std.option._, scalaz.syntax.std.option._, scalaz.std.anyVal._, scalaz.std.function._, scala.reflect.runtime.universe.reify sealed abstract class XList[A] final case class XNil[A]() extends XList[A] final case class XCons[A](head: A, tail: XList[A]) extends XList[A] And a simple function over this structure. Say, a simple summing f

                • テクノロジー
                • 2015/12/07 18:17
                • あとで読む
                • Typelevel | Type members are [almost] type parameters

                  5 users

                  typelevel.org

                  This is the first of a series of articles on “Type Parameters and Type Members”. Type members like Member class Blah { type Member } and parameters like Param class Blah2[Param] have more similarities than differences. The choice of which to use for a given situation is usually a matter of convenience. In brief, a rule of thumb: a type parameter is usually more convenient and harder to screw up, b

                  • テクノロジー
                  • 2015/07/22 21:18
                  • Scala
                  • Typelevel.scala | Deriving Type Class Instances

                    5 users

                    typelevel.org

                    Motivating example Assume that you have a case class representing vectors in three-dimensional space: case class Vector3D(x: Int, y: Int, z: Int) Now you want to implement addition on this class. Currently, you have to do that manually: def +(that: Vector3D): Vector3D = Vector3D(this.x + that.x, this.y + that.y, this.z + that.z) If you are writing some code involving three-dimensional vectors, cha

                    • テクノロジー
                    • 2014/11/25 15:07
                    • scala
                    • Typelevel | Typelevel Scala and the future of the Scala ecosystem

                      5 users

                      typelevel.org

                      tl;dr Typelevel is forking Scala; we call on all stakeholders in the Scala ecosystem to collaborate on the creation of an independent, non-profit, open source foundation to safeguard the interests of the entire Scala community. Last week I tweeted the following question: How much interest would there be in a community sponsored fork of the #Scala toolchain? RTs and fav's please. — Miles Sabin (@mi

                      • テクノロジー
                      • 2014/09/03 01:57
                      • Scala
                      • Typelevel | An Intro to Generic Numeric Programming with Spire

                        4 users

                        typelevel.org

                        In this post I’d like to introduce you to what I have been calling generic numeric programming. What is Generic Numeric Programming? What do we mean by generic numeric programming? Let’s take a simple example; we want to add 2 numbers together. However, we don’t want to restrict ourselves to a particular type, like Int or Double, instead we just want to work with some generic type A that can be ad

                        • テクノロジー
                        • 2013/07/09 12:28
                        • Scala
                        • プログラミング
                        • Typelevel | Home

                          25 users

                          typelevel.org

                          Typelevel is an ecosystem of projects and a community of people united to foster an inclusive, welcoming, and safe environment around functional programming in Scala.

                          • テクノロジー
                          • 2013/03/20 02:19
                          • scala

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

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

                          『Typelevel | Home』の新着エントリーを見る

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

                          j次のブックマーク

                          k前のブックマーク

                          lあとで読む

                          eコメント一覧を開く

                          oページを開く

                          はてなブックマーク

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

                          公式Twitter

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

                          はてなのサービス

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