Learn You a Haskell for Great Good! - Miran Lipovaca [174]
cycle function, Texas Ranges
drop function, More List Operations
elem function, More List Operations
head function, Comparing Lists
init function, Comparing Lists
last function, Comparing Lists
length function, More List Operations
maximum function, More List Operations
null function, More List Operations
odd function, I'm a List Comprehension
repeat function, Texas Ranges
replicate function, Texas Ranges
reverse function, More List Operations
sum function, More List Operations
tail function, Comparing Lists
take function, More List Operations
list ranges, using Enum type in, The Ord Type Class
lists. See also association lists; bytestrings; Data.List module; task list program; zip lists, Baby's First Functions, An Intro to Lists, An Intro to Lists, Concatenation, Concatenation, Concatenation, Concatenation, More List Operations, Texas Ranges, Texas Ranges, Texas Ranges, Texas Ranges, Texas Ranges, Texas Ranges, Texas Ranges, I'm a List Comprehension, I'm a List Comprehension, I'm a List Comprehension, Using Tuples, Explicit Type Declaration, Pattern Matching with Tuples, Quick, Sort!, Implementing flip, The map Function, Lambdas, Some Fold Examples, Another Way to Look at Folds, Counting Words, Almost As Good: Association Lists, Randomness and I/O, Randomness and I/O, Bytestrings, Writing an RPN Function, The Applicative Style, Lists, Lists, Zip Lists, Monoids, The Monoid Type Class, Folding with Monoids, The List Monad, Writer? I Hardly Knew Her!, Adding Logging to Programs, Adding Logging to Programs, Focusing on Lists
accessing elements of, Concatenation
adding to, An Intro to Lists
and function, Another Way to Look at Folds
applying functions to, Implementing flip
as applicative functors, The Applicative Style, Zip Lists, Monoids, The List Monad
as monoids, The Monoid Type Class, Writer? I Hardly Knew Her!
as nondeterministic computations, Lists
binding elements from, Texas Ranges
checking empty status of, More List Operations
combining, Texas Ranges
comparing, Concatenation
concatenation, An Intro to Lists
construction of, Adding Logging to Programs
converting trees to, Folding with Monoids
drawing elements from, Texas Ranges
efficiency of, Adding Logging to Programs
filtering, Texas Ranges, Randomness and I/O
folding, Lambdas
getting last elements of, Some Fold Examples
including predicates in, I'm a List Comprehension
infinite, Texas Ranges
inside lists, Concatenation
managing via module functions, Counting Words
mapping over, Randomness and I/O
number ranges in, Texas Ranges
pattern matching with, Pattern Matching with Tuples
promise of, Bytestrings
recursive functions on, Almost As Good: Association Lists
replacing odd numbers in, I'm a List Comprehension
sorting, Quick, Sort!
square brackets ([]) used with, Baby's First Functions
transforming, Texas Ranges
using applicative style on, Lists
using with filter function, The map Function
using with RPN functions, Writing an RPN Function
using zippers with, Focusing on Lists
vs. tuples, I'm a List Comprehension, Using Tuples, Explicit Type Declaration
locker codes, looking up, Go Left, Then Right
log type, changing type of, Writer? I Hardly Knew Her!
log values. See also values, For a Few Monads More, Writer? I Hardly Knew Her!, Writer? I Hardly Knew Her!, Adding Logging to Programs
applyLog function, Writer? I Hardly Knew Her!
implementing, Adding Logging to Programs
using Writer monad for, For a Few Monads More
logging, adding to programs, Using do Notation with Writer
logical or (||), using with monoids, Product and Sum
M
main, Separating the Pure from the Impure, Separating the Pure from the Impure, More Fun with To-Do Lists
defining for Hello, world!, Separating the Pure from the Impure
defining for task list, More Fun with To-Do Lists
map function, Implementing flip, Lambdas, Right