Online Book Reader

Home Category

Learn You a Haskell for Great Good! - Miran Lipovaca [177]

By Root 564 0
Wrapping an Existing Type into a New Type, Wrapping an Existing Type into a New Type, Using newtype to Make Type Class Instances, On newtype Laziness, On newtype Laziness, Product and Sum, Maybe the Monoid, Monoids to the Rescue

using, Using newtype to Make Type Class Instances

using with monoids, Monoids

using with Product and Sum types, Product and Sum

using with type class instances, Wrapping an Existing Type into a New Type

using with Writer type, Monoids to the Rescue

vs. data keyword, Wrapping an Existing Type into a New Type, On newtype Laziness

wrapping Maybe with, Maybe the Monoid

newtype wrapper, using with State monad, The State Monad

NO! alert, A Yes-No Type Class, A Yes-No Type Class

nondeterministic values, Pattern Matching and Failure, Composing Monadic Functions, Making Monads

representing, Composing Monadic Functions

using with monads, Pattern Matching and Failure

not Boolean operator, Starting Out

/= (not-equal-to) operator, Starting Out, Type Classes 101

not-equal-to (/=) operator, Starting Out, Type Classes 101

Nothing value, I'll Fly Away, do Notation, do Notation, Pierre Returns

in do notation, do Notation

in pattern matching, Pierre Returns

producing in Banana on a Wire, I'll Fly Away

null function, using with lists, More List Operations

Num type class, The Bounded Type Class, A Traffic Light Data Type

number constants, negative, Starting Out

number ranges, listing, Texas Ranges

numbers. See also random generators; RPN expressions, More Examples of map and filter, On Strict Left Folds, Let's Find Some Cool Numbers, Let's Find Some Cool Numbers, Enter Data.Map, Randomness and I/O, Lists Are Monoids, MonadPlus and the guard Function

as monoids, Lists Are Monoids

converting characters into, Let's Find Some Cool Numbers

filtering, MonadPlus and the guard Function

finding via modules, On Strict Left Folds

getting chain of, More Examples of map and filter

guessing, Randomness and I/O

inserting in phoneBook, Enter Data.Map

O

odd function, using with lists, I'm a List Comprehension

operations, Starting Out, Calling Functions, Calling Functions

precedence of, Calling Functions

using in expressions, Starting Out

or (||) Boolean operator, Starting Out

Ord type class, Type Classes 101, Show Me How to Read, type vs. newtype vs. data

order of operations, specifying, Starting Out

Ordering type, using with monoids, Any and All

otherwise guards, Guards, Guards!

output, filtering via list comprehensions, do Notation and List Comprehensions

P

package, defined, For a Few Monads More

pairs, storing data in, Using Tuples

parameterized types, Should We Parameterize Our Car?

parameters, using = operator with, Calling Functions

() (parentheses), Starting Out, Calling Functions, Baby's First Functions, Curried Functions, Function Application with $, Function Application with $, Function Composition, Function Composition

minimizing use of, Function Application with $, Function Composition

placement with functions, Baby's First Functions

using with operations, Starting Out, Calling Functions

using with sections, Curried Functions

parentheses, (), Starting Out, Calling Functions, Baby's First Functions, Curried Functions, Function Application with $, Function Application with $, Function Composition, Function Composition

minimizing use of, Function Application with $, Function Composition

placement with functions, Baby's First Functions

using with operations, Starting Out, Calling Functions

using with sections, Curried Functions

pattern matching, Pattern Matching, Pattern Matching, Pattern Matching, Pattern Matching with Tuples, Pattern Matching with Tuples, Pattern Matching with Tuples, Pattern Matching with Lists and List Comprehensions, Pattern Matching with Lists and List Comprehensions, As-patterns, where's Scope, let It Be, case Expressions, Shaping Up, A Traffic Light Data Type, Using newtype to Make Type Class Instances, Pierre Returns, Making Monads

as-pattern, As-patterns

error function, Pattern Matching

Return Main Page Previous Page Next Page

®Online Book Reader