-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from explorable-viz/achintya-edits
This includes code from `Renewables.purs` to test if `yarn build` works using submodules (Checks fail as expected.)
- Loading branch information
Showing
3 changed files
with
394 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
module Article where | ||
|
||
import Prelude | ||
import Prelude hiding (absurd) | ||
|
||
import App.Fig (FigSpec, drawFig, loadFig) | ||
import App.Util (runAffs_) | ||
import Bind ((↦)) | ||
import Data.Tuple (uncurry) | ||
import Effect (Effect) | ||
import Module (File(..)) | ||
import Util ((×)) | ||
|
||
-- Delete this test case once we can enable/disable outputs via the UI | ||
|
||
figSpec :: FigSpec | ||
figSpec = | ||
{ datasets: [ "renewables" ↦ "example/linked-outputs/renewables" ] | ||
, imports: [] | ||
, file: File "linked-outputs/line-chart" | ||
, inputs: [ "renewables" ] | ||
} | ||
|
||
main :: Effect Unit | ||
main = pure unit | ||
main = runAffs_ (uncurry drawFig) [ ("fig" × _) <$> loadFig figSpec ] |
Oops, something went wrong.