haskell目录层次
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目录层次的更多相关文章
- 按 Eclipse 开发喜好重新布置 cocos2dx 目录层次
[tonyfield 2013.08.29 ] 1. Cocos2dx 库的改动 处于个人的固执,花一天时间重新布置了cocos2dx 2.1.4的目录层次,将android平台无关的代码全数裁剪, ...
- Linux系统目录结构:目录层次标准、常用目录和文件
1. 目录层次标准FHS FHS(Filesystem Hierarchy Standard)目录层次标准,是Linux的目录规范标准. FHS定义了两层规范: 第一层:是"/" ...
- 递归打印目录层次(java版)
import java.io.File; public class Test { /** * * @param fileDir 根目录 * @param num 递归层次 */ private sta ...
- gulp使用技巧-删除node_modules文件夹,解决目录层次太深删除报错的问题
问题描述: 在使用gulp当中,自动生成的node_modules文件夹,因为文件目录层级太深,无法系统删除,用360粉碎工具也报错 解决方法: 使用npm中的插件rimraf,专门用于删除的模块插件 ...
- 《Qt编程的艺术》——8.2 显示目录层次
现在我们准备通过创建一个小程序来获得关于InterView的实践经验,使用QDirModel和拿来就用的view,来在四个不同的view中显示主目录,如图8.5所示.在代码里,除了例行公事先实例化一个 ...
- 恢复 Windows 7 的“回到父目录”按钮
Windows 7 使用以来很多方面一直不习惯,特别是让我无比纠结的”回到父目录“ 按钮从资源管理器中消失了. 不能不说这是一个失败! 很多时候,Win 7 地址栏中自以为是的显示的很多层目录层次的面 ...
- day 2 Linux目录结构
Linux系统的目录结构的基本介绍: 1)在逻辑上的所有目录(包括目录下的子目录)都在最高级别的目录“/”下. 根(/)目录是Linux系统中所有目录的起始点(顶点),根下面的目录及子目录是一个有层次 ...
- SQL Server 2012新特性(1)T-SQL操作FileTable目录实例
在SQL Server 2008提供FileStream,以借助Windows系统本身的API来强化SQL Server对于非结构化数据的支持后,SQL Server 2012更是推出了像Contai ...
- 51-du 显示关于目录层次结构或文件磁盘使用情况的信息
显示关于目录层次结构或文件磁盘使用情况的信息 du [options] [path-list] 参数 不带任何参数的du将显示工作目录及其子目录磁盘使用情况的信息,path-list指定要获取磁盘占用 ...
随机推荐
- MySQL-第N篇杂记
1.数据的导入导出 2.查询结果的重定向 3.ON DUPLICATE KEY UPDATE对于指定的主键或者唯一键,insert时发生冲突则进行update操作. 4.解决MySQL中问乱码问题,分 ...
- [fw]linux 下如何查看和踢除正在登陆的其它用户
linux 下如何查看和踢除正在登陆的其它用户 Posted on 2011/09/01 如何在linux下查看当前登录的用户,并且踢掉你认为应该踢掉的用户?请使用who这个命令来查看当前正在登录 ...
- cocos2d-x 3.0正式版创建project笔记
cocos2d-x 3.0正式版创建project笔记 不知道Beta版那个高大上的对话框哪里去鸟,正式版又回归到命令行,不知道触碰如此频繁的玩弄追随者的编程习惯是出于什么心理,假设不是为了这 ...
- 关于URL和URI的最简单理解
以下面网址为例: http://www.sina.com/news/1.html 那么,http://www.sina.com/news/1.html就表示URL,用于标识互联网中的某一资源:/new ...
- 图解git中的最常用命令
图解git中的最常用命令 Git命令参考手册(文本版) git init # 初始化本地git仓库(创 ...
- Quartz的简单使用
一.Quartz 介绍 Quartz是Java领域最著名的.功能丰富的.开放源码的作业调度工具,几乎可以在所有的Java应用程序中集成--从小的单机应用到大的电子商务系统. Quartz可以用来执行成 ...
- spring @Query使用对象参数
@Transactional @Modifying @Query(value = "UPDATE az_news a SET a.news_content =:#{#news.newsCon ...
- python3-Django初始化项目详细
0.背景 近期在学习django,在初始化项目的时候遇到了一丢坑,记录一下. 1.安装django 下载安装包解压出来后,python3 setup.py install 即可 2.创建项目 djan ...
- Ubuntu分区小知识与分区方案
Most PC operating systems still work with an ancient disk partition scheme that historically makes d ...
- 查完数据库order_by后跟[:9]切片取前9位的值