Skip to content

Instantly share code, notes, and snippets.

@emiaj
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emiaj/9347974eeda99501e6a1 to your computer and use it in GitHub Desktop.
Save emiaj/9347974eeda99501e6a1 to your computer and use it in GitHub Desktop.
>> Make failed: >> Error at src/Data/Experiments.purs line 9, column 20: >> Error in module Data.Experiments >> Unknown data constructor 'Directory'
module Data.Experiments where
import Data.Array
import Data.Foldable
import Data.Path
import FileOperations
onlyFiles :: Path -> [Path]
onlyFiles (Directory name paths) = []
onlyFiles _ = []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment