daniel@daniel-mint /usr/lib/ghc/haskell2010-1.1.1.0 $ tree
.
├── Control
│   └── Monad.hi
├── Data
│   ├── Array.hi
│   ├── Bits.hi
│   ├── Char.hi
│   ├── Complex.hi
│   ├── Int.hi
│   ├── Ix.hi
│   ├── List.hi
│   ├── Maybe.hi
│   ├── Ratio.hi
│   └── Word.hi
├── Foreign
│   ├── C
│   │   ├── Error.hi
│   │   ├── String.hi
│   │   └── Types.hi
│   ├── C.hi
│   ├── ForeignPtr.hi
│   ├── Marshal
│   │   ├── Alloc.hi
│   │   ├── Array.hi
│   │   ├── Error.hi
│   │   └── Utils.hi
│   ├── Marshal.hi
│   ├── Ptr.hi
│   ├── StablePtr.hi
│   └── Storable.hi
├── Foreign.hi
├── HShaskell2010-1.1.1.0.o
├── libHShaskell2010-1.1.1.0.a
├── Numeric.hi
├── Prelude.hi
└── System
├── Environment.hi
├── Exit.hi
├── IO
│   └── Error.hi
└── IO.hi

  

这个层次,与import相关联。

daniel@daniel-mint /usr/lib/ghc/base-4.6.0.1 $ tree
.
├── Control
│   ├── Applicative.hi
│   ├── Arrow.hi
│   ├── Category.hi
│   ├── Concurrent
│   │   ├── Chan.hi
│   │   ├── MVar.hi
│   │   ├── QSem.hi
│   │   ├── QSemN.hi
│   │   └── SampleVar.hi
│   ├── Concurrent.hi
│   ├── Exception
│   │   └── Base.hi
│   ├── Exception.hi
│   ├── Monad
│   │   ├── Fix.hi
│   │   ├── Instances.hi
│   │   ├── ST
│   │   │   ├── Imp.hi
│   │   │   ├── Lazy
│   │   │   │   ├── Imp.hi
│   │   │   │   ├── Safe.hi
│   │   │   │   └── Unsafe.hi
│   │   │   ├── Lazy.hi
│   │   │   ├── Safe.hi
│   │   │   ├── Strict.hi
│   │   │   └── Unsafe.hi
│   │   ├── ST.hi
│   │   └── Zip.hi
│   └── Monad.hi
├── Data
│   ├── Bits.hi
│   ├── Bool.hi
│   ├── Char.hi
│   ├── Complex.hi
│   ├── Data.hi
│   ├── Dynamic.hi
│   ├── Either.hi
│   ├── Eq.hi
│   ├── Fixed.hi
│   ├── Foldable.hi
│   ├── Function.hi
│   ├── Functor.hi
│   ├── HashTable.hi
│   ├── Int.hi
│   ├── IORef.hi
│   ├── Ix.hi
│   ├── List.hi
│   ├── Maybe.hi
│   ├── Monoid.hi
│   ├── Ord.hi
│   ├── Ratio.hi
│   ├── STRef
│   │   ├── Lazy.hi
│   │   └── Strict.hi
│   ├── STRef.hi
│   ├── String.hi
│   ├── Traversable.hi
│   ├── Tuple.hi
│   ├── Typeable
│   │   └── Internal.hi
│   ├── Typeable.hi
│   ├── Unique.hi
│   ├── Version.hi
│   └── Word.hi
├── Debug
│   └── Trace.hi
├── Foreign
│   ├── C
│   │   ├── Error.hi
│   │   ├── String.hi
│   │   └── Types.hi
│   ├── C.hi
│   ├── Concurrent.hi
│   ├── ForeignPtr
│   │   ├── Imp.hi
│   │   ├── Safe.hi
│   │   └── Unsafe.hi
│   ├── ForeignPtr.hi
│   ├── Marshal
│   │   ├── Alloc.hi
│   │   ├── Array.hi
│   │   ├── Error.hi
│   │   ├── Pool.hi
│   │   ├── Safe.hi
│   │   ├── Unsafe.hi
│   │   └── Utils.hi
│   ├── Marshal.hi
│   ├── Ptr.hi
│   ├── Safe.hi
│   ├── StablePtr.hi
│   └── Storable.hi
├── Foreign.hi
├── GHC
│   ├── Arr.hi
│   ├── Base.hi
│   ├── Char.hi
│   ├── Conc
│   │   ├── IO.hi
│   │   ├── Signal.hi
│   │   └── Sync.hi
│   ├── Conc.hi
│   ├── ConsoleHandler.hi
│   ├── Constants.hi
│   ├── Desugar.hi
│   ├── Enum.hi
│   ├── Environment.hi
│   ├── Err.hi
│   ├── Event
│   │   ├── Array.hi
│   │   ├── Clock.hi
│   │   ├── Control.hi
│   │   ├── EPoll.hi
│   │   ├── Internal.hi
│   │   ├── IntMap.hi
│   │   ├── KQueue.hi
│   │   ├── Manager.hi
│   │   ├── Poll.hi
│   │   ├── PSQ.hi
│   │   ├── Thread.hi
│   │   └── Unique.hi
│   ├── Event.hi
│   ├── Exception.hi
│   ├── Exts.hi
│   ├── Fingerprint
│   │   └── Type.hi
│   ├── Fingerprint.hi
│   ├── Float
│   │   ├── ConversionUtils.hi
│   │   └── RealFracMethods.hi
│   ├── Float.hi
│   ├── Foreign.hi
│   ├── ForeignPtr.hi
│   ├── Generics.hi
│   ├── GHCi.hi
│   ├── Handle.hi
│   ├── Int.hi
│   ├── IO
│   │   ├── BufferedIO.hi
│   │   ├── Buffer.hi
│   │   ├── Device.hi
│   │   ├── Encoding
│   │   │   ├── CodePage.hi
│   │   │   ├── Failure.hi
│   │   │   ├── Iconv.hi
│   │   │   ├── Latin1.hi
│   │   │   ├── Types.hi
│   │   │   ├── UTF16.hi
│   │   │   ├── UTF32.hi
│   │   │   └── UTF8.hi
│   │   ├── Encoding.hi
│   │   ├── Exception.hi
│   │   ├── FD.hi
│   │   ├── Handle
│   │   │   ├── FD.hi
│   │   │   ├── Internals.hi
│   │   │   ├── Text.hi
│   │   │   └── Types.hi
│   │   ├── Handle.hi
│   │   └── IOMode.hi
│   ├── IOArray.hi
│   ├── IOBase.hi
│   ├── IO.hi
│   ├── IORef.hi
│   ├── IP.hi
│   ├── List.hi
│   ├── MVar.hi
│   ├── Num.hi
│   ├── Pack.hi
│   ├── PArr.hi
│   ├── Ptr.hi
│   ├── Read.hi
│   ├── Real.hi
│   ├── Show.hi
│   ├── Stable.hi
│   ├── Stack.hi
│   ├── Stats.hi
│   ├── ST.hi
│   ├── Storable.hi
│   ├── STRef.hi
│   ├── TopHandler.hi
│   ├── TypeLits.hi
│   ├── Unicode.hi
│   ├── Weak.hi
│   └── Word.hi
├── HSbase-4.6.0.1.o
├── include
│   ├── consUtils.h
│   ├── EventConfig.h
│   ├── HsBaseConfig.h
│   ├── HsBase.h
│   ├── Typeable.h
│   └── WCsubst.h
├── libHSbase-4.6.0.1.a
├── Numeric.hi
├── Prelude.hi
├── System
│   ├── Console
│   │   └── GetOpt.hi
│   ├── CPUTime.hi
│   ├── Environment
│   │   └── ExecutablePath.hi
│   ├── Environment.hi
│   ├── Exit.hi
│   ├── Info.hi
│   ├── IO
│   │   ├── Error.hi
│   │   └── Unsafe.hi
│   ├── IO.hi
│   ├── Mem
│   │   ├── StableName.hi
│   │   └── Weak.hi
│   ├── Mem.hi
│   ├── Posix
│   │   ├── Internals.hi
│   │   └── Types.hi
│   └── Timeout.hi
├── Text
│   ├── ParserCombinators
│   │   ├── ReadP.hi
│   │   └── ReadPrec.hi
│   ├── Printf.hi
│   ├── Read
│   │   └── Lex.hi
│   ├── Read.hi
│   ├── Show
│   │   └── Functions.hi
│   └── Show.hi
└── Unsafe
└── Coerce.hi

  

Prelude Text.PrettyPrint Data.Char Data.Bits> import System.Environments

<no location info>:
Could not find module `System.Environments'
Perhaps you meant
System.Environment (from base)
System.Environment (needs flag -package haskell2010-1.1.1.0)
Prelude Text.PrettyPrint Data.Char Data.Bits> import System.Environment
Prelude Text.PrettyPrint Data.Char Data.Bits System.Environment> import System.Environment -package haskell2010-1.1.1.0 <interactive>:1:27: parse error on input `-'
Prelude Text.PrettyPrint Data.Char Data.Bits System.Environment> import System.Environment --package haskell2010-1.1.1.0

  

最新文章

  1. scala Basic 第三课
  2. storyboard连线容易出现的问题
  3. 关于java jni编译javac javah的问题
  4. js转html实体
  5. Visual Studio 2012 破解版
  6. Codeforces295A - Greg and Array(线段树的成段更新)
  7. Debian下VIM的安装和配置
  8. Core Graphics框架
  9. 电商Banner设计背后的12个人性的秘密
  10. MySQL:表的操作 知识点难点总结:表完整性约束及其他常用知识点二次总结&#128580;
  11. 关于connect by rownum与connect by leve
  12. git命令详解( 七 )
  13. npm install出现"Unexpected end of JSON input while parsing near"
  14. kafka server管理
  15. dfs问题总结
  16. JavaBean的getters和setters方法自动生成
  17. Delphi TstringList Stringlist的特殊用法
  18. 直接下载:Windows 10正式版官方原版镜像!
  19. PAT甲题题解-1115. Counting Nodes in a BST (30)-(构建二分搜索树+dfs)
  20. bzoj1013/luogu4035 球形空间生成器 (高斯消元)

热门文章

  1. MySQL-第九篇分组和组函数
  2. thinkphp开发微信小程序后台流程
  3. BZOJ 1040 [ZJOI2008]骑士 (基环树+树形DP)
  4. JVM(1)之 JAVA栈
  5. web前端之html基础知识初级
  6. git stash--在不想commit的情况下进行git pull
  7. 11-基于CPCI的中频功率放大收发板
  8. Codeforces Round #420 (Div. 2) - E
  9. Go&#39;s Declaration Syntax
  10. MySQL学习笔记_时间,多表更新,数据库元数据