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指定要获取磁盘占用 ...
随机推荐
- python-批量解压zip、rar文件
这是一个用python写解压大量zip脚本的说明,本人新手一个,希望能对各位有所启发. GitHub:https://github.com/lgf133214/Windows-python3- 首先要 ...
- node-sass 安装失败解决方法
使用淘宝镜像源 npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ npm install node-s ...
- JVM(18)之 Class文件
开发十年,就只剩下这套架构体系了! >>> 关于类加载机制的相关知识在前面的博文中暂时先讲那么多.中间留下了很多问题,从本篇博文开始,我们来一一解决. 从我们最陌生而又最熟 ...
- k3 cloud库存管理中的直接调拨单权限分配出现问题
k3 cloud中给直接调拨单分配了对应的权限,但是客户端无法查看到对应的单据 解决办法: 是应为没有发布到对应的客户端和浏览器端,打开bos,找到对应的单据并点击发布,找到对应的目录,如图所示: 把 ...
- ajax_封装函数_升级_传递多个参数和传递一个参数
HTML: <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset=" ...
- es5和es6中的this指向问题
const test ={ id:2, a:function(){ var a_this=this; setTimeout(function(){ console.log('a:',this,a_th ...
- I2C走线技巧
- HTML基础 结构,标题<h1>和段落<p> 写一个三毛语录
先看代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <tit ...
- JS基础入门篇(四十三)—ES6(二)
1.对象简洁表示法 原来写法 var name = "lzf"; var gender = "male"; var fn = function(){consol ...
- JDBC和驱动类Driver
什么是JDBC? JDBC(Java DataBase Connectivity),是一套面向对象的应用程序接口(API),制定了统一的访问各类关系数据库的标准接口,为各个数据库厂商提供了标准的实现. ...