検索対象

並び順

ブックマーク数

セーフサーチ

期間指定

  • から
  • まで

Monoidの検索結果(絞り込み: 3 users 以上)51 件中 1 - 40 件目

  • Haskellerのためのモノイド完全ガイド | 雑記帳

    Haskellにおけるモノイドについて解説記事を書いてみた。他の言語でも通用する話があるかもしれないし、ないかもしれない。 モノイドとは モノイドとは、ざっくり言うと「くっつける」演算ができる対象...

    • Monoid と DerivingVia - Qiita

      instance Monoid b => Monoid (a -> b) where mempty = ... (<>) = ... すぐに思いつかない人はちょっと考えたらわかるので、頭の体操だと思って考えてみましょう! 今回は、この関数のモノイドの面白...

      Monoid と DerivingVia - Qiita
      • United Monoids | no time

        In this blog post we will explore the consequences of postulating 0 = 1 in an algebraic structure with two binary operations (S, +, 0) and (S, ⋅, 1). Such united monoids have a few intere...

        • Haskell for all: The wizard monoid

          Recent versions of GHC 8.0 provides a Monoid instance for IO and this post gives a motivating example for why this instance is useful by building combinable "wizard"s. WizardsI'll define ...

          • An Introduction to Monoids

            When you think of programming, you might not immediately think of mathematics. In the day-to-day practice of writing software it’s often hard to see much theory behind REST requests and d...

            An Introduction to Monoids
            • Domain Modeling with Functions - an algebraic approach

              Domain Modeling with Functions - an algebraic approach 1. Domain Modeling with Functions an algebraic approach Debasish Ghosh (@debasishg) Wednesday, 23 September 15 2. What is a domain m...

              Domain Modeling with Functions - an algebraic approach
              • Rethinking Tricky Classes: Explicit Witnesses of Monoid Actions, Semigroup / Monoid / Applicative homomorphisms · GitHub

                The documentation for Action includes this unpleasantness It is a bit awkward dealing with instances of Action, since it is a multi-parameter type class but we can't add any functional de...

                Rethinking Tricky Classes: Explicit Witnesses of Monoid Actions, Semigroup / Monoid / Applicative homomorphisms · GitHub
                • Shayne Fletcher: More type classes in OCaml

                  More type classesAuthor: Joel Björnson About the author: Joel has been enjoying functional programming ever since being introduced to Haskell at Chalmers University (Sweden). Since then h...

                  • Monoids on Steroids |   Bartosz Milewski's Programming Cafe

                    If there is one structure that permeates category theory and, by implication, the whole of mathematics, it’s the monoid. To study the evolution of this concept is to study the power of ab...

                    Monoids on Steroids |   Bartosz Milewski's Programming Cafe
                    • Haskell for all: From mathematics to map-reduce

                      There's more mathematics to programming than meets the eye. This post will highlight one such connection that explains the link between map-reduce and category theory. I will then conclud...

                      • README | Haskellでわかる群論の代数的構造

                        Haskellでわかる代数的構造 皆さん、群は好きですか? 僕は大好きです。 皆さん、Haskellは好きですか? 僕は大好きです。 この(内容的に)薄い本は「Haskellチョットワカルー」な人に向ける、 Haskellコードと...

                        • Haskellで書かれたおもしろいFizzBuzz ― Haskellで読めないコードに遭遇した時に解読する方法を徹底解説! - プログラムモグモグ

                          Haskellには抽象的な高階関数や演算子がいくつもあり、たまにそれらを巧妙に用いたコードがでてきて感心することがあります。 他の人が書いたHaskellのコードを読んでいると、なかなか面白いものと遭遇...

                          Haskellで書かれたおもしろいFizzBuzz ― Haskellで読めないコードに遭遇した時に解読する方法を徹底解説! - プログラムモグモグ
                          • Functorial Blog - Counterexamples of Type Classes

                            by Phil Freeman on 2015/12/06 In Haskell and PureScript, we are familiar with certain standard hierarchies of type classes. For example, here are some of the type classes provided by the ...

                            • it's a bird, it's a plane, it's a super monoid for propellor

                              • Patterns in Types

                                A look at Reader, Writer and State in Scala

                                • Refactoring with Functional Programming Style

                                  class: center, middle # Refactoring with Functional Programming Style Scala関西Summit 2015/08/01 --- class: middle ## 自己紹介 * 中村 学(Nakamura Manabu) * [@gakuzzzz](https://twitter.com...

                                  • The Essence of FRP

                                    Conal Elliott proposed functional reactive programming twenty years ago with a clear denotational semantics. Over time the idea gained popularity but the original conception became blurre...

                                    The Essence of FRP
                                    • モノイドと継続渡しの道具箱 - モナドとわたしとコモナド

                                      関数型言語Haskellにおいて、普通は計算の結果は関数の戻り値として扱うが、「結果を受け取る関数」 に渡すという継続渡しというスタイルもある。これは単なる冗長なやり方ではなく、様々な興味深い性...

                                      モノイドと継続渡しの道具箱 - モナドとわたしとコモナド
                                      • The Comonad.Reader » Free Monoids in Haskell

                                        It is often stated that Foldable is effectively the toList class. However, this turns out to be wrong. The real fundamental member of Foldable is foldMap (which should look suspiciously l...

                                        • Monoids, Functors, Applicatives, and Monads: 10 Main Ideas | Monad Madness

                                          I’m making this post because after spending months learning about all the different properties of monoids, functors, applicatives, and monads, I thought it would be nice to collect everyt...

                                          Monoids, Functors, Applicatives, and Monads: 10 Main Ideas | Monad Madness
                                          • Finger Trees - Andrew Gibiansky

                                            In this notebook, we'll look at finger trees, a general purpose functional data structure developed in the paper by Hinze and Paterson. Finger trees provide a functional sequence data str...

                                            Finger Trees - Andrew Gibiansky
                                            • Monoids Tour - School of Haskell | School of Haskell

                                              Interactive code snippets not yet available for SoH 2.0, see our Status of of School of Haskell 2.0 blog post Like the term "monad", "monoid" can be a bit intimidating: Why would I want t...

                                              • [1406.4823] Notions of Computation as Monoids

                                                Abstract: There are different notions of computation, the most popular being monads, applicative functors, and arrows. In this article we show that these three notions can be seen as mono...

                                                • notes/01.Monoids without tears.md at master · yukitos/notes · GitHub

                                                  難しくないモノイド(翻訳) 数学的な知識をほぼ必要とせずに一般的な関数パターンを説明する 原文:Monoids without tears もしも読者にOOのバックグラウンドがあるのであれば、 関数型言語を学習するに...

                                                  • Understanding Free Monoids and Universal Constructions |   Bartosz Milewski's Programming Cafe

                                                    Understanding Free Monoids and Universal Constructions Posted by Bartosz Milewski under Category Theory [8] Comments There is an engineer and a mathematician in each of us. My blog posts,...

                                                    Understanding Free Monoids and Universal Constructions |   Bartosz Milewski's Programming Cafe
                                                    • Of Algebirds, Monoids, Monads, and other Bestiary for Large-Scale Data Analytics

                                                      Have you ever asked yourself what monoids and monads are, and particularly why they seem to be so attractive in the field of large-scale data processing? Twitter recently open-sourced Alg...

                                                      Of Algebirds, Monoids, Monads, and other Bestiary for Large-Scale Data Analytics
                                                      • こわくない型クラス

                                                        こわくない型クラス 1. こわくない型クラス @kmizu Scala Conference in Japan 2013 座長 Scalaエヴァンジェリスト(に戻った?) 2. こわくない話 3. 型クラスは怖くない 型クラスは友達 4. 本当に? ...

                                                        こわくない型クラス
                                                        • notes/00.The 'Understanding monoids' series.md at master · yukitos/notes · GitHub

                                                          Dismiss Join GitHub today GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together. Sign up

                                                          • Hadoop/Storm の統合を実現する Twitter の SummingBird - Okapies' Archive

                                                            Twitter が SummingBird を正式リリースして早二ヶ月。「日本語の紹介記事がほとんど出てないな」と気付いたので、調査がてらまとめてみました。 SummingBird とは? MapReduce なプログラムを書くため...

                                                            Hadoop/Storm の統合を実現する Twitter の SummingBird - Okapies' Archive
                                                            • [1304.7544] Monoidify! Monoids as a Design Principle for Efficient MapReduce Algorithms

                                                              Computer Science > Distributed, Parallel, and Cluster Computing Title:Monoidify! Monoids as a Design Principle for Efficient MapReduce Algorithms Abstract: It is well known that since the...

                                                              • Monoids without tears | F# for fun and profit

                                                                If you are coming from an OO background, one of the more challenging aspects of learning functional programming is the lack of obvious design patterns. There are plenty of idioms such as ...

                                                                • HLearn cross-validates >400x faster than Weka

                                                                  Weka is one of the most popular tools for data analysis.  But Weka takes 70 minutes to perform leave-one-out cross-validate using a simple naive bayes classifier on the census income data...

                                                                  • Markov Networks, Monoids, and Futurama

                                                                    In this post, we’re going to look at how to manipulate multivariate distributions in Haskell’s HLearn library. There are many ways to represent multivariate distributions, but we’ll use a...

                                                                    • Monoids in PHP - DZone Web Dev

                                                                      Sometimes the only way to grok a functional programming concept is reimplementing it. Monoids are a mathematical and functional structure that it's difficult to find appealing at a first ...

                                                                      Monoids in PHP - DZone Web Dev
                                                                      • Nuclear weapon statistics using monoids, groups, and modules in Haskell

                                                                        I’ve consolidated all this data into the file nukes-list.csv, which we will analyze in this post.  If you want to try out this code for yourself (or the homework question at the end), you...

                                                                        • GitHub - twitter/algebird: Abstract Algebra for Scala

                                                                          Dismiss Join GitHub today GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together. Sign up

                                                                          GitHub - twitter/algebird: Abstract Algebra for Scala
                                                                          • Gausian distributions form a monoid

                                                                            (And why machine learning experts should care) This is the first in a series of posts about the HLearn library for haskell that I’ve been working on for the past few months. The idea of t...

                                                                            • すごいH 第12章モノイド

                                                                              すごいH 第12章モノイド 1. 12 章 モノイドHATATANI Shinta(@apstndb) November 18, 2012 1 / 59 2. 自己紹介 @apstndb 千葉工業大学@津田沼 修士課程 好きな言語は C++ BoostCon 2011 によると「Haske...

                                                                              すごいH 第12章モノイド
                                                                              • http://mew.org/~kazu/material/2012-monoid.pdf

                                                                                • FizzBuzz, A Deep Navel to Gaze Into

                                                                                  Fizzbuzz, Interviews, And Over-thinking. There is sort of a running meme in programming culture that programmers cannot “program”, meaning that lots of people who are in the software indu...