SlideShare una empresa de Scribd logo
1 de 44
Descargar para leer sin conexión
ikegami@madscientist.jp




                          1
2
3
3
3
4
4
5
5
5
Practice


           6
7
8
9
2
Haskell Brooks Curry (September 12, 1900,
Millis, Massachusetts – September 1, 1982,
State College, Pennsylvania) was an
American mathematician and logician.
                    from en.Wikipedia.org


                                             10
x:=1; x++;




take 2 [1..]   --→ [1, 2]
                                         11
Simple

Clean

Smart
         12
13
14
14
15
F=ma
             2
N = kg m/s


                 16
17
18
(=                  )
                             sum [1, 2, 3]
sum [] = 0
                             = { applying sum }
sum (x : xs) = x + sum xs
                                1 + (sum [2, 3])
                             = { applying sum }
        ϕ
sum         =0                  1 + (2 + sum [3])
                             = { applying sum }
                                1 + (2 + (3 + sum []))
sum     x
                        xs   = { applying sum }
                                1 + (2 + (3 + 0))
  = x + sum xs
                             =6


                                                         19
(=                        )
                                   qsort [3, 5, 1]
qsort [] = []                      = { applying qsort }
qsort (x : xs)                     qsort [1] ++ [3] ++ qsort [5]
= qsort smaller                    = { applying qsort }
 ++ [x]                            (qsort [] ++ [1] ++ qsort [])
 ++ qsort larger                   ++ [3] ++
where                              (qsort [] + [5] ++ qsort [])
 smaller = [y | y <- xs, y <= x]   = { applying qsort }
 larger = [z | z <- xs, z > x]     ([] ++ [1] ++ [])
                                   ++ [3] ++
 [y | y <- xs, y <= x]             ([] ++ [5] ++ [])
 [y | y     xs, y        x]        = { applying ++, often }
                                   [1, 3, 5]
                                                               20
21
22
Haskell Communities and Activities Report
               Twelfth edition – May 30, 2007


     Andres Lӧf (ed.)           90

 1. General
 2. Implementations
 3. Language
 4. Libraries
 5. Tools

                                                82
 6. Applications
                           A4
 7. Users
http://www.haskell.org/communities/
                                                     23
24
7.1.2 Bluespec tools for design of
                 complex chips
bluespec http://www.bluespec.com/




                                       /
                            Haskell   (85K   )
                                                 25
7.1.3 Galois, Inc.




                  Haskell
Domain-Specific

                            26
Microsoft Research
British Airways
IBM




       .Net Framework

                        27
28
29
30
30
http://itpro.nikkeibp.co.jp/article/COLUMN/20060915/248215/

http://tinyurl.com/2c9pxq

http://www.sampou.org/cgi-bin/haskell.cgi

http://tinyurl.com/yrhozj

                                                              31
http://itpro.nikkeibp.co.jp/article/COLUMN/20060915/248215/

http://tinyurl.com/2c9pxq

http://www.sampou.org/cgi-bin/haskell.cgi

http://tinyurl.com/yrhozj

                                                              31
32
33
http://tinyurl.com/2wv7oa




                            34
http://tinyurl.com/2wv7oa




                            35
36

Más contenido relacionado

La actualidad más candente

Spm last minute revision mt
Spm last minute revision mtSpm last minute revision mt
Spm last minute revision mtA'dilah Hanum
 
Lesson 4 Nov 17 09
Lesson 4 Nov 17 09Lesson 4 Nov 17 09
Lesson 4 Nov 17 09ingroy
 
Variables, Expressions, and the Distributive Property
Variables, Expressions, and the Distributive PropertyVariables, Expressions, and the Distributive Property
Variables, Expressions, and the Distributive Propertyleilanidediosboon
 
Day 3 examples u6f13
Day 3 examples u6f13Day 3 examples u6f13
Day 3 examples u6f13jchartiersjsd
 
Calculo%203%20 glory
Calculo%203%20 gloryCalculo%203%20 glory
Calculo%203%20 gloryGregorio197
 
Formulas de taylor
Formulas de taylorFormulas de taylor
Formulas de taylorERICK CONDE
 
119 Powerpoint 2.6
119 Powerpoint 2.6119 Powerpoint 2.6
119 Powerpoint 2.6Jeneva Clark
 
Jordan's solution
Jordan's solutionJordan's solution
Jordan's solutionsabsma
 
CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop Suvash Shah
 

La actualidad más candente (19)

7.4 composition
7.4 composition7.4 composition
7.4 composition
 
Spm last minute revision mt
Spm last minute revision mtSpm last minute revision mt
Spm last minute revision mt
 
Mate tarea - 2º
Mate   tarea - 2ºMate   tarea - 2º
Mate tarea - 2º
 
Lesson 4 Nov 17 09
Lesson 4 Nov 17 09Lesson 4 Nov 17 09
Lesson 4 Nov 17 09
 
New day 3 examples
New day 3 examplesNew day 3 examples
New day 3 examples
 
Variables, Expressions, and the Distributive Property
Variables, Expressions, and the Distributive PropertyVariables, Expressions, and the Distributive Property
Variables, Expressions, and the Distributive Property
 
Day 3 examples u6f13
Day 3 examples u6f13Day 3 examples u6f13
Day 3 examples u6f13
 
Regras diferenciacao
Regras diferenciacaoRegras diferenciacao
Regras diferenciacao
 
Calculo%203%20 glory
Calculo%203%20 gloryCalculo%203%20 glory
Calculo%203%20 glory
 
Divisor de 7
Divisor de 7Divisor de 7
Divisor de 7
 
Day 3 examples
Day 3 examplesDay 3 examples
Day 3 examples
 
Formulas de taylor
Formulas de taylorFormulas de taylor
Formulas de taylor
 
119 Powerpoint 2.6
119 Powerpoint 2.6119 Powerpoint 2.6
119 Powerpoint 2.6
 
Jordan's solution
Jordan's solutionJordan's solution
Jordan's solution
 
CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop
 
Day 1 examples
Day 1 examplesDay 1 examples
Day 1 examples
 
Day 3 examples
Day 3 examplesDay 3 examples
Day 3 examples
 
Day 4 examples
Day 4 examplesDay 4 examples
Day 4 examples
 
Gambar Grafik Suatu fungsi
Gambar Grafik Suatu fungsiGambar Grafik Suatu fungsi
Gambar Grafik Suatu fungsi
 

Similar a Introduction to Haskell@Open Source Conference 2007 Hokkaido

Intro to Functional Programming Workshop (code4lib)
Intro to Functional Programming Workshop (code4lib)Intro to Functional Programming Workshop (code4lib)
Intro to Functional Programming Workshop (code4lib)Will Kurt
 
Артём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data AnalysisАртём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data AnalysisSpbDotNet Community
 
Vedic Mathematics- Combined operation Sum and Product of Numbers
Vedic Mathematics- Combined operation Sum and Product of NumbersVedic Mathematics- Combined operation Sum and Product of Numbers
Vedic Mathematics- Combined operation Sum and Product of Numbersculturalcomputingindia
 
Thinking Functionally In Ruby
Thinking Functionally In RubyThinking Functionally In Ruby
Thinking Functionally In RubyRoss Lawley
 
Elementos finitos
Elementos finitosElementos finitos
Elementos finitosjd
 
Tugasmatematikakelompok
TugasmatematikakelompokTugasmatematikakelompok
Tugasmatematikakelompokgundul28
 
Introduction to Functional Programming with Haskell and JavaScript
Introduction to Functional Programming with Haskell and JavaScriptIntroduction to Functional Programming with Haskell and JavaScript
Introduction to Functional Programming with Haskell and JavaScriptWill Kurt
 
17 integrals of rational functions x
17 integrals of rational functions x17 integrals of rational functions x
17 integrals of rational functions xmath266
 
Tugas matematika kelompok
Tugas matematika kelompokTugas matematika kelompok
Tugas matematika kelompokachmadtrybuana
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manualzuxigytix
 
Tugasmatematikakelompok 150715235527-lva1-app6892
Tugasmatematikakelompok 150715235527-lva1-app6892Tugasmatematikakelompok 150715235527-lva1-app6892
Tugasmatematikakelompok 150715235527-lva1-app6892drayertaurus
 
Lecture 03 special products and factoring
Lecture 03 special products and factoringLecture 03 special products and factoring
Lecture 03 special products and factoringHazel Joy Chong
 
Secretary_Game_With_Rejection.pdf
Secretary_Game_With_Rejection.pdfSecretary_Game_With_Rejection.pdf
Secretary_Game_With_Rejection.pdfAlexRoberts205071
 
Polynomial operations (1)
Polynomial operations (1)Polynomial operations (1)
Polynomial operations (1)swartzje
 
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov VyacheslavSeminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov VyacheslavVyacheslav Arbuzov
 
Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)KarunaGupta1982
 
MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)hasnulslides
 
Adding And Subtracting Polynomials
Adding And Subtracting PolynomialsAdding And Subtracting Polynomials
Adding And Subtracting Polynomialsnina
 

Similar a Introduction to Haskell@Open Source Conference 2007 Hokkaido (20)

Intro to Functional Programming Workshop (code4lib)
Intro to Functional Programming Workshop (code4lib)Intro to Functional Programming Workshop (code4lib)
Intro to Functional Programming Workshop (code4lib)
 
Артём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data AnalysisАртём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data Analysis
 
Vedic Mathematics- Combined operation Sum and Product of Numbers
Vedic Mathematics- Combined operation Sum and Product of NumbersVedic Mathematics- Combined operation Sum and Product of Numbers
Vedic Mathematics- Combined operation Sum and Product of Numbers
 
Thinking Functionally In Ruby
Thinking Functionally In RubyThinking Functionally In Ruby
Thinking Functionally In Ruby
 
Elementos finitos
Elementos finitosElementos finitos
Elementos finitos
 
Tugasmatematikakelompok
TugasmatematikakelompokTugasmatematikakelompok
Tugasmatematikakelompok
 
Introduction to Functional Programming with Haskell and JavaScript
Introduction to Functional Programming with Haskell and JavaScriptIntroduction to Functional Programming with Haskell and JavaScript
Introduction to Functional Programming with Haskell and JavaScript
 
17 integrals of rational functions x
17 integrals of rational functions x17 integrals of rational functions x
17 integrals of rational functions x
 
Tugas matematika kelompok
Tugas matematika kelompokTugas matematika kelompok
Tugas matematika kelompok
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manual
 
Tugasmatematikakelompok 150715235527-lva1-app6892
Tugasmatematikakelompok 150715235527-lva1-app6892Tugasmatematikakelompok 150715235527-lva1-app6892
Tugasmatematikakelompok 150715235527-lva1-app6892
 
Haskell
HaskellHaskell
Haskell
 
Lecture 03 special products and factoring
Lecture 03 special products and factoringLecture 03 special products and factoring
Lecture 03 special products and factoring
 
Secretary_Game_With_Rejection.pdf
Secretary_Game_With_Rejection.pdfSecretary_Game_With_Rejection.pdf
Secretary_Game_With_Rejection.pdf
 
Polynomial operations (1)
Polynomial operations (1)Polynomial operations (1)
Polynomial operations (1)
 
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov VyacheslavSeminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
 
Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)
 
MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)
 
Adding And Subtracting Polynomials
Adding And Subtracting PolynomialsAdding And Subtracting Polynomials
Adding And Subtracting Polynomials
 
Millionways
MillionwaysMillionways
Millionways
 

Más de ikegami__

C言語静的解析ツールと Ruby 1.9 trunk
C言語静的解析ツールと Ruby 1.9 trunkC言語静的解析ツールと Ruby 1.9 trunk
C言語静的解析ツールと Ruby 1.9 trunkikegami__
 
Agda 入門@ProofSummit 2011
Agda 入門@ProofSummit 2011Agda 入門@ProofSummit 2011
Agda 入門@ProofSummit 2011ikegami__
 
Mac Laptop で Gentoo
Mac Laptop で GentooMac Laptop で Gentoo
Mac Laptop で Gentooikegami__
 
Lightening Talk at Open Source Conference 2007
Lightening Talk at Open Source Conference 2007Lightening Talk at Open Source Conference 2007
Lightening Talk at Open Source Conference 2007ikegami__
 
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
Introduction to Haskell games in Open Source Conference 2007 HokkaidoIntroduction to Haskell games in Open Source Conference 2007 Hokkaido
Introduction to Haskell games in Open Source Conference 2007 Hokkaidoikegami__
 
Advanced Topics in Haskell
Advanced Topics in HaskellAdvanced Topics in Haskell
Advanced Topics in Haskellikegami__
 

Más de ikegami__ (6)

C言語静的解析ツールと Ruby 1.9 trunk
C言語静的解析ツールと Ruby 1.9 trunkC言語静的解析ツールと Ruby 1.9 trunk
C言語静的解析ツールと Ruby 1.9 trunk
 
Agda 入門@ProofSummit 2011
Agda 入門@ProofSummit 2011Agda 入門@ProofSummit 2011
Agda 入門@ProofSummit 2011
 
Mac Laptop で Gentoo
Mac Laptop で GentooMac Laptop で Gentoo
Mac Laptop で Gentoo
 
Lightening Talk at Open Source Conference 2007
Lightening Talk at Open Source Conference 2007Lightening Talk at Open Source Conference 2007
Lightening Talk at Open Source Conference 2007
 
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
Introduction to Haskell games in Open Source Conference 2007 HokkaidoIntroduction to Haskell games in Open Source Conference 2007 Hokkaido
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
 
Advanced Topics in Haskell
Advanced Topics in HaskellAdvanced Topics in Haskell
Advanced Topics in Haskell
 

Introduction to Haskell@Open Source Conference 2007 Hokkaido