落井下石是什么意思| 09年属什么生肖| 嘴巴干是什么原因| 肾结石什么不可以吃| gps是什么意思| 针眼长什么样子图片| 精神慰藉什么意思| 汽车点火线圈坏了有什么症状| 什么的元帅| 脑堵塞有什么症状| 寓是什么意思| rr医学上什么意思| 乙肝病毒是什么| 竖心旁的字和什么有关| 爬是什么结构| v8是什么| 红枣为什么要去核煮| ect是什么意思| 鼻窦炎用什么药效果最好| 世上谁嫌男人丑的前一句是什么| 紫色属于五行属什么| tap什么意思| 痛风不能吃什么食物表| 农历五月属什么生肖| 超七水晶是什么| 羽字属于五行属什么| 脚老抽筋是什么原因| 拍身份证穿什么颜色衣服| 壁虎属于什么类动物| 宫颈囊肿有什么症状表现| 肺气阴两虚吃什么中成药| 艾滋病是什么症状| 天牛喜欢吃什么| 樱桃红是什么颜色| 三头六臂指什么生肖| 寒湿重吃什么中成药| ny是什么品牌| 鱼用什么呼吸| 银屑病是什么| 海松茸是什么| 背部疼痛是什么原因引起的| 刘姥姥进大观园什么意思| 人为什么会困| 清炖鸡放什么调料| 康熙雍正乾隆是什么关系| 氟哌酸又叫什么名字| 一般的意思是什么| 类风湿是什么原因引起的| 梦见摘杏子是什么意思| 什么是溶血| 源源不断是什么意思| 幽门螺旋杆菌抗体阳性是什么意思| 颈椎疼挂什么科室| 小便无力吃什么药| 马来酸曲美布汀片什么时候吃| 博士在古代是什么意思| 咦惹是什么意思| 支气管激发试验阴性是什么意思| 咳嗽挂什么科| 去非洲要打什么疫苗| 精神伴侣是什么意思| 悼念是什么意思| 三伏贴有什么功效| 早上八点到九点属于什么时辰| 你在纠结什么| 曹植是什么生肖| 5月23日是什么日子| 狗女配什么属相最好| 什么叫非甾体抗炎药| kolumb是什么牌子| 绿色搭配什么颜色好看| 什么消炎药最好| 鹿查什么部首| 子宫内膜是什么| 脾胃虚弱吃什么药调理| 易胖体质是什么原因造成的| 长期肚子疼是什么原因| 2001年什么年| 孕早期胎停有什么症状或征兆吗| 内痔用什么药治最好效果最快| 秋天什么时候| 睚眦必报是什么意思| 闰6月是什么意思| 吃什么水果可以变白| 五行缺土戴什么| 命运多舛是什么意思| 头发干燥是什么原因| 小孩上吐下泻吃什么药| 武五行属什么| 打封闭针是什么意思| 6月8日是什么星座| 眼睛老是流眼泪是什么原因| 脾胃虚是什么症状| 怀孕一个月什么症状| 葛根粉吃了有什么作用| 0.01是什么意思| 日柱华盖是什么意思| 潜水是什么意思| 筒子骨炖什么好吃| 塑形是什么意思| 鸡胗是什么部位| 750是什么材质| 雷什么风什么成语| 眼开大财主是什么生肖| 一什么不什么| Mary英文名什么意思| 肺结核通过什么途径传染| 外耳道发炎用什么药| 取环什么时候取最好| 蓓蕾是什么意思| 长孙皇后为什么叫观音婢| 滨海新区有什么好玩的地方| 表面抗体阳性什么意思| 包场是什么意思| 枯草芽孢杆菌治什么病| 胎神是什么意思| 胆固醇高不可以吃什么食物| 什么食物含钾最高| 维c不能和什么一起吃| 海水倒灌是什么意思| 什么药可以流产| 土界读什么| 梦见猫咬我是什么意思| 布鲁氏菌病是什么病| 犬吠是什么意思| 左胳膊发麻是什么原因| 五月二十日是什么星座| 狗和什么属相相冲| 睡觉后脑勺出汗多是什么原因| 什么叫做亚健康| 跳蚤吃什么| 山楂和什么泡水喝减肥效果最好| 女性为什么不适合喝茉莉花茶| 酸是什么意思| 相濡以沫什么意思| 萌字五行属什么| 3月16日什么星座| 肌肉酸痛挂什么科| 毛峰是什么茶| hia是什么意思| 贼是什么生肖| 今天拉警报什么意思| 什么一清二白| 朱迅和朱军是什么关系| 黄褐斑内调吃什么中药| 邮电局是干什么的| 胃痛吃什么食物| 长闭口是什么原因造成的| 体癣是什么原因引起的| 嘴巴里起泡是什么原因| 吃什么能变白| 血栓吃什么药化得快| 折什么时候读she| 左室舒张功能减低吃什么药| 内裤发黄是什么原因呢| 眼睛干痒用什么眼药水比较好| 口腔疱疹用什么药| 产后为什么脸部松弛| 波美度是什么意思| 榴莲为什么臭| 靥是什么意思| 右侧疼痛是什么原因| 孙悟空头上戴的是什么| 必承其重上一句是什么| 06年属狗的是什么命| 解除是什么意思| 肚子胀胀的是什么原因| 微量元素挂什么科| 88年属龙是什么命| 男女更年期分别在什么年龄| 气管痉挛是什么症状| 脚踝肿什么原因| 比细菌还小的东西是什么| 吃韭菜有什么好处和坏处| 保肝降酶药首选什么药| 鼻塞打喷嚏是什么原因| 掉筷子有什么预兆| 打胎药叫什么名字| 背德是什么意思| 做梦捡到钱是什么意思| 符号代表什么| 后会有期什么意思| 凤梨跟菠萝有什么区别| 胃反酸水是什么原因| 梦见自己洗头发是什么意思| 明月几时有的下一句是什么| 28岁属相是什么生肖| 安徽有什么特色美食| 低血糖什么症状有哪些| 焦虑症挂什么科| 血压偏低有什么症状| 螺丝吃什么| 闭经和绝经有什么区别| 天妇罗是什么意思| 子宫小有什么影响| 溴隐亭是什么药| 女人白带多是什么原因| icloud是什么| 并蒂是什么意思| 鑫字属于五行属什么| 肠衣是什么做的| 白露节气的含义是什么| 闯空门什么意思| 碧玺五行属什么| 女性口臭都是什么原因| 宫殿是什么意思| 甲基硫菌灵治什么病| 决明子是什么| 胆囊结石吃什么药| 人贫血吃什么补得快| 包皮过长是什么样的| 胳膊上的花是打了什么疫苗| 心服口服是什么意思| 儿童风热感冒吃什么药| 血癌是什么原因造成的| 亲情是什么意思| 海灵菇是什么| 乳房长斑点是什么原因| 霸是什么生肖| 利字五行属什么| 加拿大现在什么季节| 强直性脊柱炎是什么| 梦见自己给别人钱是什么意思| 椎体终板炎是什么病| 去海边玩需要带什么| 什么是主动脉夹层| 胃气胃胀吃什么药最好| 慌张的反义词是什么| 供奉是什么意思| 晴雨伞是什么意思| 又热又冷是什么原因| 中性粒细胞偏高是什么意思| 北京五行属什么| 上火牙疼吃什么药| 持之以恒的恒是什么意思| 外感风寒是什么意思| 梦魇是什么原因造成的| 伯邑考为什么不姓姬| 十二生肖叫老大是什么生肖| 叉烧炒什么菜好吃| 离婚都需要什么手续和证件| 脸上长毛什么原因| 买车选什么品牌| 1989年是什么蛇| 锻炼是什么意思| 乳房胀痛什么原因| 双侧骶髂关节致密性骨炎是什么病| 介入室是干什么的| 申的五行属什么| 对峙是什么意思| 国企董事长是什么级别| 为什么蚊子不咬我| 骨头咔咔响是什么原因| 舌尖长溃疡是什么原因| 胸部胀疼是什么原因| h代表什么意思| 无水酥油是什么| 词又被称为什么| 双顶径是什么意思| 一个鸟一个木念什么| 什么叫色弱| 小米粥配什么菜好吃| 冰糖里面为什么有白线| 荸荠是什么| 百度Jump to content

2017最新机动车与非机动车发生交通事故赔偿标准

From Wikipedia, the free encyclopedia
Epigram
ParadigmFunctional
Designed byConor McBride
James McKinna
DeveloperUnmaintained
First appeared2004; 21 years ago (2004)
Stable release
1 / October 11, 2006; 18 years ago (2025-08-07)
Typing disciplinestrong, static, dependent
OSCross-platform: Linux, Windows, macOS
LicenseMIT[1]
Websiteweb.archive.org/web/20120717070845/http://www.e-pig.org/darcs/Pig09/web/
Influenced by
ALF
Influenced
Agda, Idris
百度 霍泰德在多个行业领域有着丰富的经验,包括医疗、生命科学、钢铁、材料、纺织、造纸、石油天然气(上下游)、信息产业、物流、高级材料/纳米技术、化学、汽车。

Epigram is a functional programming language with dependent types, and the integrated development environment (IDE) usually packaged with the language. Epigram's type system is strong enough to express program specifications. The goal is to support a smooth transition from ordinary programming to integrated programs and proofs whose correctness can be checked and certified by the compiler. Epigram exploits the Curry–Howard correspondence, also termed the propositions as types principle, and is based on intuitionistic type theory.

The Epigram prototype was implemented by Conor McBride based on joint work with James McKinna. Its development is continued by the Epigram group in Nottingham, Durham, St Andrews, and Royal Holloway, University of London in the United Kingdom (UK). The current experimental implementation of the Epigram system is freely available together with a user manual, a tutorial and some background material. The system has been used under Linux, Windows, and macOS.

It is currently unmaintained, and version 2, which was intended to implement Observational Type Theory, was never officially released but exists in GitHub.

Syntax

[edit]

Epigram uses a two-dimensional, natural deduction style syntax, with versions in LaTeX and ASCII. Here are some examples from The Epigram Tutorial:

Examples

[edit]

The natural numbers

[edit]

The following declaration defines the natural numbers:

     (         !       (          !   (  n : Nat  !
data !---------! where !----------! ; !-----------!
     ! Nat : * )       !zero : Nat)   !suc n : Nat)

The declaration says that Nat is a type with kind * (i.e., it is a simple type) and two constructors: zero and suc. The constructor suc takes a single Nat argument and returns a Nat. This is equivalent to the Haskell declaration "data Nat = Zero | Suc Nat".

In LaTeX, the code is displayed as:

The horizontal-line notation can be read as "assuming (what is on the top) is true, we can infer that (what is on the bottom) is true." For example, "assuming n is of type Nat, then suc n is of type Nat." If nothing is on the top, then the bottom statement is always true: "zero is of type Nat (in all cases)."

Recursion on naturals

[edit]

...And in ASCII:

NatInd : all P : Nat -> * => P zero ->
         (all n : Nat => P n -> P (suc n)) ->
         all n : Nat => P n
NatInd P mz ms zero => mz
NatInd P mz ms (suc n) => ms n (NatInd P mz ms n)

Addition

[edit]

...And in ASCII:

plus x y <= rec x {
  plus x y <= case x {
    plus zero y => y
    plus (suc x) y => suc (plus x y)
  }
}

Dependent types

[edit]

Epigram is essentially a typed lambda calculus with generalized algebraic data type extensions, except for two extensions. First, types are first-class entities, of type ; types are arbitrary expressions of type , and type equivalence is defined in terms of the types' normal forms. Second, it has a dependent function type; instead of , , where is bound in to the value that the function's argument (of type ) eventually takes.

Full dependent types, as implemented in Epigram, are a powerful abstraction. (Unlike in Dependent ML, the value(s) depended upon may be of any valid type.) A sample of the new formal specification capabilities dependent types bring may be found in The Epigram Tutorial.

See also

[edit]
  • ALF, a proof assistant among the predecessors of Epigram.

Further reading

[edit]
  • McBride, Conor; McKinna, James (2004). "The view from the left". Journal of Functional Programming. 14: 69–111. doi:10.1017/S0956796803004829. S2CID 6232997.
  • McBride, Conor (2004). The Epigram Prototype, a nod and two winks (Report).
  • McBride, Conor (2004). The Epigram Tutorial (Report).
  • Altenkirch, Thorsten; McBride, Conor; McKinna, James (2005). Why Dependent Types Matter (Report).
  • Chapman, James; Altenkirch, Thorsten; McBride, Conor (2006). Epigram Reloaded: A Standalone Typechecker for ETT (Report).
  • Chapman, James; Dagand, Pierre-évariste; McBride, Conor; Morris, Peter (2010). The gentle art of levitation (Report).

References

[edit]
  1. ^ "Epigram – Official website". Retrieved 28 November 2015.
[edit]
菊花和什么一起泡最好 腋毛变白是什么原因 什么的羊群 布加综合征是什么病 小腿发麻是什么原因
尤文氏肉瘤是什么病 宠物蛇吃什么食物 什么是转述句 灵芝搭配什么煲汤最好 什么中不足成语
6月30日是什么座 刺猬喜欢吃什么食物 伤口流水是什么原因 熬夜有什么坏处 吃中药不可以吃什么水果
胆汁反流是什么症状 皇太后是皇上的什么人 马齿苋对什么病最有效 子宫内膜什么时候脱落 乱花渐欲迷人眼是什么意思
成人晚上磨牙是什么原因hcv8jop7ns4r.cn 腰酸痛挂什么科hcv9jop0ns4r.cn 阳痿是什么原因引起的hcv9jop6ns5r.cn 请辞是什么意思hcv8jop1ns1r.cn 大名鼎鼎的鼎是什么意思hcv9jop8ns2r.cn
梦见自己哭了是什么意思hebeidezhi.com 糖粉和白糖有什么区别hcv9jop6ns4r.cn 欺山莫欺水是什么意思dajiketang.com 耳鸣是什么原因hcv8jop2ns8r.cn 做梦梦到很多蛇是什么意思hcv9jop7ns1r.cn
快乐是什么意思hcv9jop1ns2r.cn 什么的劝告hcv8jop8ns8r.cn 脑电图是检查什么的hcv8jop3ns0r.cn 夏字五行属什么hcv8jop2ns0r.cn 为什么老是梦见一个人hcv8jop3ns4r.cn
松子是什么树的果实hcv9jop5ns7r.cn 小脑萎缩吃什么药效果最好hcv9jop5ns9r.cn 骨髓水肿吃什么消炎药bjhyzcsm.com 孩子嗓子有痰吃什么药hcv9jop0ns7r.cn 不让看朋友圈显示什么hcv9jop6ns9r.cn
百度