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. 2018-7-24-WPF-渲染级别

    title author date CreateTime categories WPF 渲染级别 lindexi 2018-07-24 18:46:27 +0800 2018-04-20 16:26: ...

  2. python常用函数 T

    timedelta() timedelta方法可以表示一个时间段,并可以进行计算,而且可以直接对datetime计算. 例子: today() datetime的today函数可以表示现在的时间. 例 ...

  3. Django学习笔记-修改Django的默认的数据库

    1.修改设置settings中的配置 DATABASES = { 'default': { # 'ENGINE': 'django.db.backends.sqlite3', # 'NAME': os ...

  4. JVM参数说明

    转载于https://www.cnblogs.com/redcreen/archive/2011/05/04/2037057.html文章 JVM参数说明 -Xms:初始堆大小  默认值=物理内存的1 ...

  5. windows下搭建Mongo主(Master)/从(slave)数据库同步

    需要启动两个mongoDb文档数据库,一个是主模式启动,另一个是属于从模式启动. 1. 创建主从服务器 主服务器:192.168.1.131:27017 备服务器:192.168.1.131:2701 ...

  6. 洛谷4843 BZOJ2502 清理雪道

    有源汇有上下界的最小可行流. YY一下建图应该很好搞吧(? 就是对于每个雪道都是[1,inf]然后源点到所有点都是[0,inf]所有点到汇点都是[0,inf] 这样的话跑一个有源汇上下界最小可行流就可 ...

  7. 用pycharm运行pytest

    安装pytest 1. 在pycharm中建项目,建文件,文件名字要以test_开头 2.在文件中插入pytest模块 import pytest #引用pytest模块 3.定义test函数,以及断 ...

  8. python基础知识1

    1.何为json? json 是一种轻量级的数据交换格式,采用完全独立于编程语言的文本格式来存储和表示数据.简洁和清晰的层次结构使得 JSON 成为理想的数据交换语言. 易于人阅读和编写,同时也易于机 ...

  9. Testng报错:method-selectors?,parameter*,groups?,packages?,classes?

    以上的报错信息有两种可能的原因: 1.xml的格式确实有误 2.xml的格式正确,但是工程中testng的jar包不止一个,从而导致有歧义或者冲突(这个很可能发生在同一个workspace有多个工程的 ...

  10. git基础常用命令

    常用命令 git init //初始化本地git环境 git clone XXX//克隆一份代码到本地仓库 git pull //把远程库的代码更新到工作台 git pull --rebase ori ...