Haskell-Generated Site
This site was generated by this Haskell script.
See also my notes on this project.
EX001: Show two UL/LI lists
- one
- two
- three
- four
- five
- six
EX002: Demonstrate Haskell lists
HASKELL LIST: ["red","blue","purple","orange"]
- head: "red"
- tail: ["blue","purple","orange"]
- init: ["red","blue","purple"]
- last: "orange"
- length: 4
- null: False
- reverse: ["orange","purple","blue","red"]
- take 1: ["red"]
- take 2: ["red","blue"]
- take 3: ["red","blue","purple"]
- take 4: ["red","blue","purple","orange"]
- take 5: ["red","blue","purple","orange"]
- drop 1: ["blue","purple","orange"]
- drop 2: ["purple","orange"]
- drop 3: ["orange"]
- drop 4: []
- drop 5: []
- minimum: "blue"
- maximum: "red"
- "blue" `elem`: True
- "Hamburg" `elem`: False
HASKELL LIST: ["Berlin","Hamburg","Paris","London","Madrid"]
- head: "Berlin"
- tail: ["Hamburg","Paris","London","Madrid"]
- init: ["Berlin","Hamburg","Paris","London"]
- last: "Madrid"
- length: 5
- null: False
- reverse: ["Madrid","London","Paris","Hamburg","Berlin"]
- take 1: ["Berlin"]
- take 2: ["Berlin","Hamburg"]
- take 3: ["Berlin","Hamburg","Paris"]
- take 4: ["Berlin","Hamburg","Paris","London"]
- take 5: ["Berlin","Hamburg","Paris","London","Madrid"]
- drop 1: ["Hamburg","Paris","London","Madrid"]
- drop 2: ["Paris","London","Madrid"]
- drop 3: ["London","Madrid"]
- drop 4: ["Madrid"]
- drop 5: []
- minimum: "Berlin"
- maximum: "Paris"
- "blue" `elem`: False
- "Hamburg" `elem`: True
EX003: Demonstrate Haskell ranges
NUMBER RANGES:
- Range [1..20] as string: (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), (18), (19), (20)
- Range [2, 4..20] as string: (2), (4), (6), (8), (10), (12), (14), (16), (18), (20)
- Range [3, 6..20] as string: (3), (6), (9), (12), (15), (18)
- Range [10, 20..100] as string: (10), (20), (30), (40), (50), (60), (70), (80), (90), (100)
- Range [20..100] as string: (20), (21), (22), (23), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), (34), (35), (36), (37), (38), (39), (40), (41), (42), (43), (44), (45), (46), (47), (48), (49), (50), (51), (52), (53), (54), (55), (56), (57), (58), (59), (60), (61), (62), (63), (64), (65), (66), (67), (68), (69), (70), (71), (72), (73), (74), (75), (76), (77), (78), (79), (80), (81), (82), (83), (84), (85), (86), (87), (88), (89), (90), (91), (92), (93), (94), (95), (96), (97), (98), (99), (100)
version: 0.7
See also: Edward's Howtos and Forays