
15 Jun
2002
15 Jun
'02
2:43 p.m.
Hi there, I thought i can reverse a list with reverse a list easily with the reverse function in order to achieve following: I wanted to check for a certain suffix (then reversed a prefix) and substitute that. So i did -- let dstfile = case tmpfile of -- ('a':'s':'p':'.':rest) -> rest ++ ".psx" -- anything -> anything ++ ".psx" Guess what: I did not work. dstfile was reversed (tmpfile ++ ".psx"). i guess this deals with lazy evalutation, but would be glad about some definit ideas. Matthias
8375
Age (days ago)
8375
Last active (days ago)
2 comments
1 participants
participants (1)
-
Matthias