Skip to content

Instantly share code, notes, and snippets.

@nuttycom
Created October 28, 2015 15:35
Show Gist options
  • Save nuttycom/2cbf2b646ecb2c625e8f to your computer and use it in GitHub Desktop.
Save nuttycom/2cbf2b646ecb2c625e8f to your computer and use it in GitHub Desktop.
Purescript import woes
nuttycom@lights: ~/work/xip $ pulp build
* Building project in /Users/nuttycom/work/xip
psc: No files found using pattern: src/**/*.js
Error found:
Error at /Users/nuttycom/work/xip/src/Main.purs line 7, column 1 - line 9, column 1:
Cannot declare "LT" since another declaration of that name was imported from Prelude
Possible fix: hide "LT" when importing Prelude:
import Prelude hiding (LT)
See https://github.com/purescript/purescript/wiki/Error-Code-ConflictingImport for more information, or to contribute content related to this error.
Compiling Main
* ERROR: Subcommand terminated with error code 1
nuttycom@lights: ~/work/xip $ pulp build
* Building project in /Users/nuttycom/work/xip
psc: No files found using pattern: src/**/*.js
Error found:
Error at /Users/nuttycom/work/xip/src/Main.purs line 7, column 24 - line 7, column 26:
Module Prelude does not export type class LT
See https://github.com/purescript/purescript/wiki/Error-Code-UnknownImportTypeClass for more information, or to contribute content related to this error.
Compiling Main
* ERROR: Subcommand terminated with error code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment