VVbuys Blog

standalone Linux lover

  • Home
  • Tags
  • Archives
  • Sitemap
  • Commonweal 404
  • Table of Contents
  • Overview

vvbuys

Share some post and some issue for linux program
265 posts
36 categories
36 tags

「SF-PLF」14 RecordSub

Posted on 2024-02-02
1
2
3
4
Inductive ty : Type :=
(* record types *)
| RNil : ty
| RCons : string → ty → ty → ty.

we need typecon to identify record…

Inductive tm : Type :=
  | rproj ...?  isn't it as well?
  (* record terms *)
  | rnil : tm
  | rcons : string → tm → tm → tm.
``

as a list...


for Record, can compiler reorder the fields? (SML and OCaml)




# 笔记 # SF (软件基础) # Coq # PLF (编程语言基础)
「SF-PLF」17 UseTactics
「SF-PLF」13 References
© 2024 vvbuys
Powered by Hexo & NexT.Muse
0%