mirror of
https://github.com/Avi-D-coder/implicit-hie.git
synced 2024-11-22 17:55:51 +03:00
Merge pull request #19 from drupol/patch-1
This commit is contained in:
commit
536b425950
@ -50,6 +50,7 @@ fmtComponent (p, c) =
|
||||
<> "component: "
|
||||
<> dQuote c
|
||||
|
||||
-- | Same as init but handle empty list without throwing errors.
|
||||
dropLast :: [a] -> [a]
|
||||
dropLast l = take (length l - 1) l
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user