Curry: An Integrated Functional Logic Language
Curry: An Integrated Functional Logic Language
Curry: An Integrated Functional Logic Language
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
owseList (g:gs) = browse g >> putChar ’\n’ >> browseList gs<br />
-- unpack a solution’s value from a (solved) search goal<br />
unpack :: (a -> Success) -> a<br />
unpack g | g x = x where x free<br />
58