Slashdot Mirror


User: sml-chicago

sml-chicago's activity in the archive.

Stories
0
Comments
1
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1

  1. Re:The memories... on Purely Functional Data Structures · · Score: 1

    Slightly better would be to use pattern matching instead of hd and tl:

    fun reverse nil = nil
    | reverse (x::xs) = reverse xs @ [x]