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

  

haskell目录层次的更多相关文章

  1. 按 Eclipse 开发喜好重新布置 cocos2dx 目录层次

    [tonyfield 2013.08.29 ] 1.  Cocos2dx 库的改动 处于个人的固执,花一天时间重新布置了cocos2dx 2.1.4的目录层次,将android平台无关的代码全数裁剪, ...

  2. Linux系统目录结构:目录层次标准、常用目录和文件

    1. 目录层次标准FHS FHS(Filesystem Hierarchy Standard)目录层次标准,是Linux的目录规范标准.   FHS定义了两层规范: 第一层:是"/" ...

  3. 递归打印目录层次(java版)

    import java.io.File; public class Test { /** * * @param fileDir 根目录 * @param num 递归层次 */ private sta ...

  4. gulp使用技巧-删除node_modules文件夹,解决目录层次太深删除报错的问题

    问题描述: 在使用gulp当中,自动生成的node_modules文件夹,因为文件目录层级太深,无法系统删除,用360粉碎工具也报错 解决方法: 使用npm中的插件rimraf,专门用于删除的模块插件 ...

  5. 《Qt编程的艺术》——8.2 显示目录层次

    现在我们准备通过创建一个小程序来获得关于InterView的实践经验,使用QDirModel和拿来就用的view,来在四个不同的view中显示主目录,如图8.5所示.在代码里,除了例行公事先实例化一个 ...

  6. 恢复 Windows 7 的“回到父目录”按钮

    Windows 7 使用以来很多方面一直不习惯,特别是让我无比纠结的”回到父目录“ 按钮从资源管理器中消失了. 不能不说这是一个失败! 很多时候,Win 7 地址栏中自以为是的显示的很多层目录层次的面 ...

  7. day 2 Linux目录结构

    Linux系统的目录结构的基本介绍: 1)在逻辑上的所有目录(包括目录下的子目录)都在最高级别的目录“/”下. 根(/)目录是Linux系统中所有目录的起始点(顶点),根下面的目录及子目录是一个有层次 ...

  8. SQL Server 2012新特性(1)T-SQL操作FileTable目录实例

    在SQL Server 2008提供FileStream,以借助Windows系统本身的API来强化SQL Server对于非结构化数据的支持后,SQL Server 2012更是推出了像Contai ...

  9. 51-du 显示关于目录层次结构或文件磁盘使用情况的信息

    显示关于目录层次结构或文件磁盘使用情况的信息 du [options] [path-list] 参数 不带任何参数的du将显示工作目录及其子目录磁盘使用情况的信息,path-list指定要获取磁盘占用 ...

随机推荐

  1. 中标麒麟V6.0安装 mysql-5.7.26-linux-glibc2.12-x86_64.tar.gz

    在中标麒麟6.0上安装mysql, 1.先从官网(https://dev.mysql.com/downloads/mysql/5.7.html#downloads)下载 . 我的选择如上图. 2.下载 ...

  2. python eval( ) 使用详解

      1.解析表达式 (表达式是str类型)----最常用     a = 12     b = "联播"     result1 = eval(a+3)        # resu ...

  3. Debian(Linux)+XAMPP(LAMPP)+Zend Studio + PHP +XDebug 完整的开发环境配置方法。 转摘:http://www.cnblogs.com/kungfupanda/archive/2010/11/25/1887812.html

    经历了3天左右的挣扎,终于在Linux下将 php开发工具 Zend Studio 的 xdebug安装成功,分享如下: 1,装XAMPP,安装方法链接如下:这里假设XAMPP的安装路径为:/opt/ ...

  4. hadoop工作流调度系统

    常见工作流调度系统 Oozie, Azkaban, Cascading, Hamake 各种调度工具特性对比 特性 Hamake Oozie Azkaban Cascading 工作流描述语言 XML ...

  5. 关于Object.create方法

    ES6最新的Object.create语法是 创造一个对象 可以传参,参数为一个对象,得到的结果是一个克隆的对象, 实际上 这是基于原型的克隆 分析如下: var a={b:1}; var a1 = ...

  6. 【ASE高级软件工程】Alpha 阶段 backend组 scrum1 记录

    本次会议于11月4日,19:10 在微软北京西二号楼13478召开,持续40分钟. 与会人员:Haifeng Chen, Zhikai Chen, Hao Wang, Jia Ning 请假: Xin ...

  7. git 报错

    -bash: git: command not found export PATH=$PATH:/usr/local/git/bin 使用git clone出现 fatal: unable to ac ...

  8. php pdo_mysql扩展安装

    本文内容是以 CentOS 为例,红帽系列的 Linux 方法应该都是如此,下面就详细说明步骤,在这里严重鄙视哪些内容??隆⑺档脑悠咴影说挠泄 PDO 编译安装的文章. 1.进入 PHP 的软件包 p ...

  9. Spring之控制反转——IoC、面向切面编程——AOP

      控制反转——IoC 提出IoC的目的 为了解决对象之间的耦合度过高的问题,提出了IoC理论,用来实现对象之间的解耦. 什么是IoC IoC是Inversion of Control的缩写,译为控制 ...

  10. elasticsearch删除

    1.根据id删除 2.根据查询条件删除