SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
(定義1) map f [] = []
(定義2) map f (x:xs) = f x : map f xs
(定義3) (f . g) x = f (g x)



map f (map g xs) = map (f . g) xs
map f (map g []) = map (f . g) []
map f (map g []) = map (f . g) []
map f [] = []




(定義1) map f [] = []
map f (map g []) = map (f . g) []
map f [] = []
[] = []




(定義1) map f [] = []
(仮定1) map f (map g xs) = map (f . g) xs




map f (map g (x:xs)) = map (f . g) (x:xs)
map f (map g (x:xs)) = map (f . g) (x:xs)
map f (g x : map g xs) = (f . g) x : map (f . g) xs




(定義2) map f (x:xs) = f x : map f xs
map f (map g (x:xs)) = map (f . g) (x:xs)
map f (g x : map g xs) = (f . g) x : map (f . g) xs
f (g x) : map f (map g xs) = (f . g) x : map (f . g) xs




(定義2) map f (x:xs) = f x : map f xs
map f (map g (x:xs)) = map (f . g) (x:xs)
map f (g x : map g xs) = (f . g) x : map (f . g) xs
f (g x) : map f (map g xs) = (f . g) x : map (f . g) xs
f (g x) : map f (map g xs) = f (g x) : map (f . g) xs




(定義3) (f . g) x = f (g x)
map f (map g (x:xs)) = map (f . g) (x:xs)
map f (g x : map g xs) = (f . g) x : map (f . g) xs
f (g x) : map f (map g xs) = (f . g) x : map (f . g) xs
f (g x) : map f (map g xs) = f (g x) : map (f . g) xs
f (g x) : map (f . g) xs = f (g x) : map (f . g) xs




(仮定1) map f (map g xs) = map (f . g) xs
http://www.paraiso-lang.org/ikmsm/

Contenu connexe

Tendances

Day 6 examples u8f13
Day 6 examples u8f13Day 6 examples u8f13
Day 6 examples u8f13jchartiersjsd
 
PC Exam 1 study guide
PC Exam 1 study guidePC Exam 1 study guide
PC Exam 1 study guidevhiggins1
 
graficas matlab
graficas matlabgraficas matlab
graficas matlabxavelu
 
Composicion de funciones
Composicion de funcionesComposicion de funciones
Composicion de funcionesPaito Sarauz
 
Day 2 examples u8f13
Day 2 examples u8f13Day 2 examples u8f13
Day 2 examples u8f13jchartiersjsd
 
Метод интервалов
Метод интерваловМетод интервалов
Метод интерваловMaria Pospelova
 
Algebra 2 Unit 5 Lesson 5
Algebra 2 Unit 5 Lesson 5Algebra 2 Unit 5 Lesson 5
Algebra 2 Unit 5 Lesson 5Kate Nowak
 
DiffCalculus: September 10, 2012
DiffCalculus: September 10, 2012DiffCalculus: September 10, 2012
DiffCalculus: September 10, 2012Carlos Vázquez
 
Derivatives power point
Derivatives power point Derivatives power point
Derivatives power point Ashley Smith
 
Addition and Subtraction of Functions
Addition and Subtraction of FunctionsAddition and Subtraction of Functions
Addition and Subtraction of Functionsjordhuffman
 
119 Powerpoint 2.6
119 Powerpoint 2.6119 Powerpoint 2.6
119 Powerpoint 2.6Jeneva Clark
 
Functions
FunctionsFunctions
FunctionsSPSV
 
Operations With Functions May 25 2009
Operations With Functions May 25 2009Operations With Functions May 25 2009
Operations With Functions May 25 2009ingroy
 
Representacion funciones sage cell
Representacion funciones sage cellRepresentacion funciones sage cell
Representacion funciones sage cellMarcos Otero
 

Tendances (20)

Radical functions
Radical functionsRadical functions
Radical functions
 
Day 6 examples u8f13
Day 6 examples u8f13Day 6 examples u8f13
Day 6 examples u8f13
 
PC Exam 1 study guide
PC Exam 1 study guidePC Exam 1 study guide
PC Exam 1 study guide
 
Exercise #11 notes
Exercise #11 notesExercise #11 notes
Exercise #11 notes
 
Analisis matematico
Analisis matematicoAnalisis matematico
Analisis matematico
 
Exercise #8 notes
Exercise #8 notesExercise #8 notes
Exercise #8 notes
 
graficas matlab
graficas matlabgraficas matlab
graficas matlab
 
Composicion de funciones
Composicion de funcionesComposicion de funciones
Composicion de funciones
 
Day 2 examples u8f13
Day 2 examples u8f13Day 2 examples u8f13
Day 2 examples u8f13
 
Метод интервалов
Метод интерваловМетод интервалов
Метод интервалов
 
Algebra 2 Unit 5 Lesson 5
Algebra 2 Unit 5 Lesson 5Algebra 2 Unit 5 Lesson 5
Algebra 2 Unit 5 Lesson 5
 
DiffCalculus: September 10, 2012
DiffCalculus: September 10, 2012DiffCalculus: September 10, 2012
DiffCalculus: September 10, 2012
 
Derivatives power point
Derivatives power point Derivatives power point
Derivatives power point
 
PAIP 第1章 Lisp入門
PAIP 第1章 Lisp入門PAIP 第1章 Lisp入門
PAIP 第1章 Lisp入門
 
Addition and Subtraction of Functions
Addition and Subtraction of FunctionsAddition and Subtraction of Functions
Addition and Subtraction of Functions
 
119 Powerpoint 2.6
119 Powerpoint 2.6119 Powerpoint 2.6
119 Powerpoint 2.6
 
Functions
FunctionsFunctions
Functions
 
Operations With Functions May 25 2009
Operations With Functions May 25 2009Operations With Functions May 25 2009
Operations With Functions May 25 2009
 
parent functons
parent functonsparent functons
parent functons
 
Representacion funciones sage cell
Representacion funciones sage cellRepresentacion funciones sage cell
Representacion funciones sage cell
 

En vedette

November 26, 2012: Polynomials (SmartBoard Note)
November 26, 2012: Polynomials (SmartBoard Note)November 26, 2012: Polynomials (SmartBoard Note)
November 26, 2012: Polynomials (SmartBoard Note)mrstrementozzi
 
5th meeting
5th meeting5th meeting
5th meetingasmeucf
 
Mba ebooks ! Edhole
Mba ebooks ! EdholeMba ebooks ! Edhole
Mba ebooks ! EdholeEdhole.com
 
Ccna discovery lina rosero
Ccna discovery   lina roseroCcna discovery   lina rosero
Ccna discovery lina roserolinarosero12
 
Evaluacionpaginasweb
EvaluacionpaginaswebEvaluacionpaginasweb
Evaluacionpaginaswebguest922fe3
 
Red telefonica conmutada
Red telefonica conmutadaRed telefonica conmutada
Red telefonica conmutadaMartin Díez
 
Geometry Section 1-2 1112
Geometry Section 1-2 1112Geometry Section 1-2 1112
Geometry Section 1-2 1112Jimbo Lamb
 

En vedette (8)

November 26, 2012: Polynomials (SmartBoard Note)
November 26, 2012: Polynomials (SmartBoard Note)November 26, 2012: Polynomials (SmartBoard Note)
November 26, 2012: Polynomials (SmartBoard Note)
 
5th meeting
5th meeting5th meeting
5th meeting
 
Mba ebooks ! Edhole
Mba ebooks ! EdholeMba ebooks ! Edhole
Mba ebooks ! Edhole
 
Ccna discovery lina rosero
Ccna discovery   lina roseroCcna discovery   lina rosero
Ccna discovery lina rosero
 
Evaluacionpaginasweb
EvaluacionpaginaswebEvaluacionpaginasweb
Evaluacionpaginasweb
 
F5 add maths year plan 2013
F5 add maths year plan 2013F5 add maths year plan 2013
F5 add maths year plan 2013
 
Red telefonica conmutada
Red telefonica conmutadaRed telefonica conmutada
Red telefonica conmutada
 
Geometry Section 1-2 1112
Geometry Section 1-2 1112Geometry Section 1-2 1112
Geometry Section 1-2 1112
 

Similaire à プログラミングHaskell 13章 問題7

Ppt fiske daels mei drisa desain media komputer
Ppt fiske daels mei drisa desain media komputerPpt fiske daels mei drisa desain media komputer
Ppt fiske daels mei drisa desain media komputerArdianPratama22
 
4.1 inverse functions t
4.1 inverse functions t4.1 inverse functions t
4.1 inverse functions tmath260
 
Area between curves
Area between curvesArea between curves
Area between curvesjnaveena j
 
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...Hareem Aslam
 
Logarithms
LogarithmsLogarithms
Logarithmssupoteta
 
Algebra 2 Section 5-1
Algebra 2 Section 5-1Algebra 2 Section 5-1
Algebra 2 Section 5-1Jimbo Lamb
 
The Chain Rule, Part 2
The Chain Rule, Part 2The Chain Rule, Part 2
The Chain Rule, Part 2Pablo Antuna
 
lesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptxlesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptxJohnReyManzano2
 
Best Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed SpacesBest Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed SpacesIOSR Journals
 
Algebra 2 Lesson 5-6
Algebra 2 Lesson 5-6Algebra 2 Lesson 5-6
Algebra 2 Lesson 5-6Kate Nowak
 

Similaire à プログラミングHaskell 13章 問題7 (20)

Invers fungsi
Invers fungsiInvers fungsi
Invers fungsi
 
1. functions
1. functions1. functions
1. functions
 
Ppt fiske daels mei drisa desain media komputer
Ppt fiske daels mei drisa desain media komputerPpt fiske daels mei drisa desain media komputer
Ppt fiske daels mei drisa desain media komputer
 
4.1 inverse functions t
4.1 inverse functions t4.1 inverse functions t
4.1 inverse functions t
 
maths basics
maths basicsmaths basics
maths basics
 
Dif int
Dif intDif int
Dif int
 
Day 6 examples
Day 6 examplesDay 6 examples
Day 6 examples
 
Area between curves
Area between curvesArea between curves
Area between curves
 
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
 
Logarithms
LogarithmsLogarithms
Logarithms
 
Alg2 lesson 7-8
Alg2 lesson 7-8Alg2 lesson 7-8
Alg2 lesson 7-8
 
Alg2 lesson 7-8
Alg2 lesson 7-8Alg2 lesson 7-8
Alg2 lesson 7-8
 
F.Komposisi
F.KomposisiF.Komposisi
F.Komposisi
 
Algebra 2 Section 5-1
Algebra 2 Section 5-1Algebra 2 Section 5-1
Algebra 2 Section 5-1
 
The Chain Rule, Part 2
The Chain Rule, Part 2The Chain Rule, Part 2
The Chain Rule, Part 2
 
0210 ch 2 day 10
0210 ch 2 day 100210 ch 2 day 10
0210 ch 2 day 10
 
lesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptxlesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptx
 
Best Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed SpacesBest Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed Spaces
 
Algebra 2 Lesson 5-6
Algebra 2 Lesson 5-6Algebra 2 Lesson 5-6
Algebra 2 Lesson 5-6
 
Modul 1 functions
Modul 1 functionsModul 1 functions
Modul 1 functions
 

Dernier

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 

Dernier (20)

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 

プログラミングHaskell 13章 問題7

  • 1.
  • 2. (定義1) map f [] = [] (定義2) map f (x:xs) = f x : map f xs (定義3) (f . g) x = f (g x) map f (map g xs) = map (f . g) xs
  • 3. map f (map g []) = map (f . g) []
  • 4. map f (map g []) = map (f . g) [] map f [] = [] (定義1) map f [] = []
  • 5. map f (map g []) = map (f . g) [] map f [] = [] [] = [] (定義1) map f [] = []
  • 6. (仮定1) map f (map g xs) = map (f . g) xs map f (map g (x:xs)) = map (f . g) (x:xs)
  • 7. map f (map g (x:xs)) = map (f . g) (x:xs) map f (g x : map g xs) = (f . g) x : map (f . g) xs (定義2) map f (x:xs) = f x : map f xs
  • 8. map f (map g (x:xs)) = map (f . g) (x:xs) map f (g x : map g xs) = (f . g) x : map (f . g) xs f (g x) : map f (map g xs) = (f . g) x : map (f . g) xs (定義2) map f (x:xs) = f x : map f xs
  • 9. map f (map g (x:xs)) = map (f . g) (x:xs) map f (g x : map g xs) = (f . g) x : map (f . g) xs f (g x) : map f (map g xs) = (f . g) x : map (f . g) xs f (g x) : map f (map g xs) = f (g x) : map (f . g) xs (定義3) (f . g) x = f (g x)
  • 10. map f (map g (x:xs)) = map (f . g) (x:xs) map f (g x : map g xs) = (f . g) x : map (f . g) xs f (g x) : map f (map g xs) = (f . g) x : map (f . g) xs f (g x) : map f (map g xs) = f (g x) : map (f . g) xs f (g x) : map (f . g) xs = f (g x) : map (f . g) xs (仮定1) map f (map g xs) = map (f . g) xs