Instantly share code, notes, and snippets.

@wavewave /A.hs
Created May 19, 2013

Embed
What would you like to do?
recursive module import using hs-boot and cabal
module A where
import {-# SOURCE #-} B
data Atyp = Atyp Btyp
module B where
import A
data Btyp = Btyp Atyp
module B where
data Btyp
Name: hsboottest
Version: 0.0.999
Synopsis:
Description:
Author: Ian-Woo Kim
Maintainer: Ian-Woo Kim <ianwookim@gmail.com>
Build-Type: Simple
Cabal-Version: >= 1.8
Data-files:
Library
ghc-options: -Wall -O2 -threaded -funbox-strict-fields -fno-warn-unused-do-bind
ghc-prof-options: -caf-all -auto-all
Build-Depends: base>4
Exposed-Modules:
A
B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment