Enviar pesquisa
Carregar
Lecture2
•
Transferir como KEY, PDF
•
1 gostou
•
494 visualizações
Eita Sugimoto
Seguir
Vista de apresentação de diapositivos
Denunciar
Compartilhar
Vista de apresentação de diapositivos
Denunciar
Compartilhar
1 de 20
Baixar agora
Recomendados
Haskell勉強会2 in ie
Haskell勉強会2 in ie
maeken2010
Scalaz
Scalaz
Kota Mizushima
Ruby 3の型推論やってます
Ruby 3の型推論やってます
mametter
すごいHaskell読書会 第7章 (前編)
すごいHaskell読書会 第7章 (前編)
Suguru Hamazaki
はじめてのあじゅーる
はじめてのあじゅーる
Kenji Tanaka
Lecture3
Lecture3
Eita Sugimoto
ごっとふぁーざーふぁしりてーしょんず
ごっとふぁーざーふぁしりてーしょんず
Kenji Tanaka
Fortran compiling 2
Fortran compiling 2
najenssr
Recomendados
Haskell勉強会2 in ie
Haskell勉強会2 in ie
maeken2010
Scalaz
Scalaz
Kota Mizushima
Ruby 3の型推論やってます
Ruby 3の型推論やってます
mametter
すごいHaskell読書会 第7章 (前編)
すごいHaskell読書会 第7章 (前編)
Suguru Hamazaki
はじめてのあじゅーる
はじめてのあじゅーる
Kenji Tanaka
Lecture3
Lecture3
Eita Sugimoto
ごっとふぁーざーふぁしりてーしょんず
ごっとふぁーざーふぁしりてーしょんず
Kenji Tanaka
Fortran compiling 2
Fortran compiling 2
najenssr
型推論
型推論
Eita Sugimoto
電源2
電源2
Eita Sugimoto
Semiotics
Semiotics
Eita Sugimoto
電源
電源
Eita Sugimoto
Lecture4
Lecture4
Eita Sugimoto
Lecture1
Lecture1
Eita Sugimoto
Summer seminar
Summer seminar
Eita Sugimoto
Functional Pearl + Brainfuck
Functional Pearl + Brainfuck
Eita Sugimoto
ラムダ計算入門
ラムダ計算入門
Eita Sugimoto
Mais conteúdo relacionado
Mais de Eita Sugimoto
型推論
型推論
Eita Sugimoto
電源2
電源2
Eita Sugimoto
Semiotics
Semiotics
Eita Sugimoto
電源
電源
Eita Sugimoto
Lecture4
Lecture4
Eita Sugimoto
Lecture1
Lecture1
Eita Sugimoto
Summer seminar
Summer seminar
Eita Sugimoto
Functional Pearl + Brainfuck
Functional Pearl + Brainfuck
Eita Sugimoto
ラムダ計算入門
ラムダ計算入門
Eita Sugimoto
Mais de Eita Sugimoto
(9)
型推論
型推論
電源2
電源2
Semiotics
Semiotics
電源
電源
Lecture4
Lecture4
Lecture1
Lecture1
Summer seminar
Summer seminar
Functional Pearl + Brainfuck
Functional Pearl + Brainfuck
ラムダ計算入門
ラムダ計算入門
Lecture2
1.
Haskell講義(2)
yingtai
2.
3. Types and Typeclasses
3.
今日は皆さんに • 型の勉強をしてもらいます
4.
型 • いろいろあります
5.
型 • Int, Integer •
Float, Double • Char • Bool
6.
型 • [Int], [Char],
... • [[Int]], [[Char]], ... • (Int, String) ...
7.
型 • 関数にも型があります • (+)
:: Int -> Int -> Int • (+) 1 2 -- = 3
8.
型変数 • どんな型も取りうる
9.
型クラス • 型の振る舞いを定義する
10.
Eq 型クラス • 等値性を定義できる型 •
Int, Bool, ...(いろいろ) • (==), (/=)
11.
Ord 型クラス • Order
(順序) を定義できる型 • (<), (>), (<=), (>=)
12.
Show 型クラス • 文字列として表現できる型 •
show とか
13.
Read 型クラス • Show
と対をなす型クラス • 文字列から戻せる型 • read とか
14.
Enum 型クラス • 値を列挙できる型 •
succ, pred など • [ a .. e ]
15.
Bounded 型クラス • 上限と下限を持つ型 •
minBound, maxBound
16.
Num 型クラス • 数の型クラス •
Int, Integer, Double, Float など
17.
Floating 型クラス • 浮動小数点数 •
Double, Float など
18.
Integral 型クラス • 整数 •
Int, Integer など
19.
他に • Monadとかも型クラスです
20.
関係
Notas do Editor
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Baixar agora