[Haskell-beginners] safetail problem

Roelof Wobben rwobben at hotmail.com
Tue Jul 12 21:16:06 CEST 2011



Hello, 

 

As a exercise I need to rewrite the tail function into a safetail function by using conditions.

 

So I made this : http://codepad.org/bKcCUdqy

 

But as you can see there is a error message.

 

Can anyone explain me how to solve this ?

 

Roelof

 

 

  		 	   		  


More information about the Beginners mailing list