git.iko.soy/rowtype-yoga/psfp
on master help sign in
111 lines 1.5 kB history raw
1import { Link } from 'gatsby'
3import SEO from '../components/seo'
5<SEO title="Home" keywords={['gatsby', 'application', 'react']} />
7# Take
9## Hocu
11```purescript
12--result pocu
13module Main where
14import Grimoire
15import Data.String (take)
17main :: Effect Unit
18main =
19--start here
20 log (take 4 "pocus")
21--end here
22```
24## Hoc
26```purescript
27--result poc
28module Main where
29import Grimoire
30import Data.String (take)
32main :: Effect Unit
33main =
34--start here
35 {-log-} (take 3 "pocus")
36--end here
37```
39## H
41```purescript
42--result p
43module Main where
44import Grimoire
45import Data.String (take)
47main :: Effect Unit
48main =
49--start here
50 log (take {-1-} "pocus")
51--end here
52```
54## Hocus
55```purescript
56--result pocus
57module Main where
58import Grimoire
59import Data.String (take)
61main :: Effect Unit
62main =
63--start here
64 {-log-} ({-take-} 200 "pocus")
65--end here
66```
68## Ab
69```purescript
70--result cadab
71module Main where
72import Grimoire
73import Data.String (take)
75main :: Effect Unit
76main =
77 --start here
78 {-log-} ({-take-} 5 "cadabra")
79--end here
80```
82## Echo
83```purescript
84--result echo
85module Main where
86import Grimoire
87import Data.String (take)
89main :: Effect Unit
90main =
91 --start here
92 log (take {-4-} "echo")
93--end here
94```
96## Silence
97```purescript
98--result
99module Main where
100import Grimoire
101import Data.String (take)
103main :: Effect Unit
104main =
105 --start here
106 log (take {-0-} "noise")
107--end here
108```
110<Link to="/optional/">That's it for now</Link>