Skip to content
kevinlawler edited this page Aug 1, 2011 · 1 revision

|x: Reverse the order of a list. Reverse is the identity function on atoms.

  |0 1 2
2 1 0
  *|0 1 2    /first-reverse, take the last element of a list
2
  |1
1
  |!0    /empty lists preserve type
!0
  |0#0.0
0#0.0
  |()
()
Clone this wiki locally