-
-
Save ktvoelker/d561889ac4bd56cadc2d to your computer and use it in GitHub Desktop.
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
name: agent | |
version: 0.1.0.0 | |
synopsis: Just testing | |
author: Dimitri DeFigueiredo | |
maintainer: defigueireo@ucdavis.edu | |
build-type: Simple | |
cabal-version: >=1.20 | |
---------------------------------------------- | |
executable myAgent | |
main-is: Main.hs | |
build-depends: base, unix | |
default-language: Haskell2010 | |
---------------------------------------------- | |
executable myPersonalMain | |
main-is: Mpm.hs | |
build-depends: base | |
default-language: Haskell2010 |
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
module Main where | |
main = putStrLn "main" |
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
module Mpm where | |
-- This import fails because the dependency on "unix" for "main" is not global, | |
-- and thus not made available to "myPersonalMain". | |
import System.Posix | |
main = putStrLn "Hi!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment