Closed drupol closed 3 years ago
Update dropLast function, handle empty list otherwise use the core init function.
dropLast
init
Follows: #19 #18
Credits: @enikar on #haskell-fr
Thanks, but I prefer the original direct implementation. Also If I were using init https://github.com/Avi-D-coder/implicit-hie/pull/19#issuecomment-694993722 is more appealing.
Fair enough !
Update
dropLast
function, handle empty list otherwise use the coreinit
function.Follows: #19 #18
Credits: @enikar on #haskell-fr