Avi-D-coder / implicit-hie

Auto generate a stack or cabal multi component hie.yaml file
BSD 3-Clause "New" or "Revised" License
201 stars 17 forks source link

Replace custom `dropLast` function with standard `init` function #18

Closed drupol closed 3 years ago

drupol commented 3 years ago

Hi,

I'm a beginner in Haskell and I noticed that you created a function 'dropLast' that is basically the same as the core function 'init'.

This PR remove the custom function 'dropLast' and uses 'init'.

Link: https://hackage.haskell.org/package/base-4.14.0.0/docs/Prelude.html#v:init