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