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. 洛谷 P1546 最短网络 Agri-Net(最小生成树)

    题目链接 https://www.luogu.org/problemnew/show/P1546 说过了不复制内容了 显然是个最小生成树. 解题思路 prim算法 Kruskal算法 prim算法很直 ...

  2. typescript 深层次对象内层(N)转外层(N),支持多层级递归转换,多应用于多语言数据结构转换

    如下数据结构转换 var a = { b: { en: 1, zh: 2, }, c: { en: 3, zh: 4, }, } //===> var b = { en: { b: 1, c: ...

  3. 攻防世界--no-strings-attached

    测试文件:https://adworld.xctf.org.cn/media/task/attachments/5d4117b968684b9483d0d4464e0a6fea 这道题要使用到gdb文 ...

  4. jquery+ajax获取本地json对应数据

    首先,记得导入jquery.js文件. json内容: var obj123=[        {"option":"2,3,9,14,19,24,32",&q ...

  5. 测试微信小程序页面的生命周期

    前言:本人是一个初学者,也是第一次写博客,敲键盘的时候还不知道发布后是什么效果,希望内容给其他初学的同学一点帮助,同时加深自己的理解.这篇随笔讲的是Page页面的生命周期,在开发中是基础中的基础,很容 ...

  6. SpringCloud Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded

    出现此问题,有可能是spring cloud 与spring boot 版本不匹配引发的问题,此次用的版本是:Finchley.RC1 经过一番关键字查找,发现spring cloud 与spring ...

  7. iOS crash log 解析

    iOS开发中,经常遇到App在开发及测试时不会有问题,但是装在别人的设备中会出现各种不定时的莫名的 crash,因为iOS设备会保存应用的大部分的 crash Log,所以可以通过 crash Log ...

  8. Sass:RGB颜色函数-Red()、Green()、Blue()函数

    Red() 函数 red() 函数非常简单,其主要用来获取一个颜色当中的红色值.假设有一个 #f36 的颜色,如果你想得到 #f36 中的 red 值是多少,这个时候使用 red() 函数就能很简单获 ...

  9. Flutter-底部導航欄切換

    程序入口 import 'package:flutter/material.dart'; import 'botton_navigation_widget.dart'; void main() =&g ...

  10. BZOJ3508 开灯 & [校内NOIP2018模拟20181027] 密码锁

    Time Limit: 10 Sec Memory Limit: 128 MB Description xx作为信息学界的大神,拥有众多的粉丝.为了感谢众粉丝的爱戴,xx决定举办一场晚会.为了气派,x ...