on 657b415 help sign in
34 lines 412 B history raw
1### `++some`
3Wrap value in a unit
5Takes any atom `a` and produces a [`++unit`]() with the value set to `a`.
7Accepts
8-------
10`a` is a [noun]().
12Produces
13--------
15A unit.
17Source
18------
20 ++ some :: lift (pure)
21 |* a=*
22 [~ u=a]
24Examples
25--------
27 ~zod/try=> (some [`a` `b`])
28 [~ u=[`a` `b`]]
29 ~zod/try=> (some &)
30 [~ u=%.y]
34***