|
|
||
|
|
Start of topic | Skip to actions
Concoqtion BugsJoseph: Coq blocks need to be split in an unjustified way (Joseph will add this to the bugs page). Joseph: If you overuse variable names in Concoqtion and MetaOCaml?, sometimes they are not shadowed correctly Emir: Might be a bug. Must be checked. Context Refinement and "as"Match statement without All the context refinement does is that it allows you to have non linear patterns. With the
let rec eval .|e,t| (exp:('(e),'(t)) tterm) (env: '(evalEnv e)): '(evalTyp t) =
match exp as ((e1,t1) tterm) in (envTyp t1) with
|VarZ .... -> fst env
For example in the above code Concoqtion can't resolve that When the When we don't have the Maybe we will be able to have a Concoqtion version that can do the same things that we can do with context refinement when we have the The reason we were not able to do delete is because context refinement is broken because it don't support nested patterns. The problem we were talking about now is different because we can't express in the language things that be inferred using context refinement. Q: Do we currently have 1 level context refinement? A: There is only one level context refinement but currently incomplete since it doesn't yet support nested patterns. Type CheckerAngela: Two questions about type checker from the Index Now paper.
type '(env) some_exp =
| SE of let 't:'(typ) in '(t) r_typ * ('env,'(t)) expr.
Q: Why do we need to the return both these values? Do we really need A: Yes this looks like an extra piece of information but it is be needed at run-time. Type checking: let res1 = tc e1 in let res2 = tc e2 inQ: Why do we need the cast? A: Because we must make sure that Next lecture we will talk about cast. -- CherifAndraos - 17 Mar 2007
Topic Actions: Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
Webs: Main | TWiki | Africa | EmbeddedSystems | Gpce | Houston | International | K12 | MetaOCaml | MulticoreOCR | ProgrammingLanguages | RAP | RIDL | Sandbox | SpeechClub | Teaching | Texbot | WG211 Web Actions: |
|
This work is licensed under a Creative Commons Attribution 2.5 License. Please follow our citation guidelines.