doc-src/Tutorial/Recdef/sep2
changeset 6100 40d66bc3e83f
equal deleted inserted replaced
6099:d4866f6ff2f9 6100:40d66bc3e83f
       
     1 consts sep :: 'a list => 'a => 'a list
       
     2 recdef sep "measure length"
       
     3   "sep (x#y#zs) = (%a. x # a # sep zs a)"
       
     4   "sep xs       = (%a. xs)"