Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zudov/purescript-importer
https://github.com/zudov/purescript-importer
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zudov/purescript-importer
- Owner: zudov
- License: bsd-3-clause
- Created: 2016-01-10T19:58:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-10T19:58:34.000Z (almost 9 years ago)
- Last Synced: 2023-05-23T04:15:48.966Z (over 1 year ago)
- Language: Haskell
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Running on the files (commited in project) `Imports.purs` and `Code.purs`
produces a subset of imports listed in `Imports.purs` so that it would resolve
all the names that it can resolve in `Code.purs`.
```
$ purescript-importer Imports.purs Code.purs
import Control.Bind ((>=>))
import Control.Monad.Aff (Aff())
import DOM.XHR.FormData as FormData
import Data.Foreign as Foreign
import Data.Foreign.Class as Foreign
import Data.Generic (class Generic, gShow)
import Data.Maybe (Maybe(Just))
import Data.StrMap as StrMap
import Data.Tuple (Tuple(Tuple))
import Network.HTTP.Affjax (AJAX())
import Network.HTTP.Affjax as Ajax
import Network.HTTP.Affjax.Response as Ajax
import Network.HTTP.MimeType.Common as Mime
import Prelude (($), map, (<$>), (>>>), class Show)
```