diff --git a/prelude/DATS/axrf001.dats b/prelude/DATS/axrf001.dats index 9ec040af3..822f0d2e9 100644 --- a/prelude/DATS/axrf001.dats +++ b/prelude/DATS/axrf001.dats @@ -116,6 +116,13 @@ owed_vt_return0(pf, x0) in btf end (* ****** ****** *) // #impltmp +< x0:vt > +a1rf_strmize = +gasz_strmize(*void*) +// +(* ****** ****** *) +// +#impltmp { x0:t0 } gseq_strmize = diff --git a/prelude/DATS/axsz001.dats b/prelude/DATS/axsz001.dats index 3dd40635a..dd39b853d 100644 --- a/prelude/DATS/axsz001.dats +++ b/prelude/DATS/axsz001.dats @@ -42,6 +42,27 @@ Authoremail: gmhwxiATgmailDOTcom (* ****** ****** *) // #impltmp +< x0:vt > +a1sz_strmize = +gasz_strmize(*void*) +// +(* ****** ****** *) +// +#impltmp +{ x0:t0 } +gseq_strmize + = +gasz_strmize(*void*) +#impltmp +{ x0:vt } +gseq_strmize1 + = +gasz_strmize(*void*) +// +(* ****** ****** *) +(* ****** ****** *) +// +#impltmp { a: vt } g_forall = gasz_forall diff --git a/prelude/SATS/axrf001.sats b/prelude/SATS/axrf001.sats index e64ba5502..dd4bec45a 100644 --- a/prelude/SATS/axrf001.sats +++ b/prelude/SATS/axrf001.sats @@ -39,6 +39,16 @@ Authoremail: gmhwxiATgmailDOTcom // fun +a1rf_strmize + (A: a1rf(a)): strm_vt(a) +// +#symload strmize with a1rf_strmize of 1000 +// +(* ****** ****** *) +(* ****** ****** *) +// +fun + a1rf_forall_size {n:nat} (A:a1rf(a,n), n:sint(n)): bool diff --git a/prelude/SATS/axsz001.sats b/prelude/SATS/axsz001.sats index 451658e1a..8ee56d99c 100644 --- a/prelude/SATS/axsz001.sats +++ b/prelude/SATS/axsz001.sats @@ -42,6 +42,16 @@ Authoremail: gmhwxiATgmailDOTcom // fun +a1sz_strmize + (A: a1sz(a)): strm_vt(a) +// +#symload strmize with a1sz_strmize of 1000 +// +(* ****** ****** *) +(* ****** ****** *) +// +fun + a1sz_forall(A: a1sz(a)): bool fun diff --git a/prelude/SATS/gcls000.sats b/prelude/SATS/gcls000.sats index b70ab83c4..2c28740d6 100644 --- a/prelude/SATS/gcls000.sats +++ b/prelude/SATS/gcls000.sats @@ -196,8 +196,8 @@ GSEQ_irforall // #symload forall with GSEQ_forall of 1000 #symload rforall with GSEQ_rforall of 1000 -#symload iforall with GSEQ_rforall of 1000 -#symload irforall with GSEQ_rforall of 1000 +#symload iforall with GSEQ_iforall of 1000 +#symload irforall with GSEQ_irforall of 1000 // (* ****** ****** *) // @@ -297,8 +297,8 @@ GSEQ_irforitm // #symload foritm with GSEQ_foritm of 1000 #symload rforitm with GSEQ_rforitm of 1000 -#symload iforitm with GSEQ_rforitm of 1000 -#symload irforitm with GSEQ_rforitm of 1000 +#symload iforitm with GSEQ_iforitm of 1000 +#symload irforitm with GSEQ_irforitm of 1000 // (* ****** ****** *) // @@ -386,8 +386,8 @@ GSEQ(xs,x0), r0: r0): (r0) // #symload folditm with GSEQ_folditm of 1000 #symload rfolditm with GSEQ_rfolditm of 1000 -#symload ifolditm with GSEQ_rfolditm of 1000 -#symload irfolditm with GSEQ_rfolditm of 1000 +#symload ifolditm with GSEQ_ifolditm of 1000 +#symload irfolditm with GSEQ_irfolditm of 1000 // (* ****** ****** *) // diff --git a/prelude/SATS/gseq001.sats b/prelude/SATS/gseq001.sats index af0f09541..9b186d6bc 100644 --- a/prelude/SATS/gseq001.sats +++ b/prelude/SATS/gseq001.sats @@ -99,6 +99,8 @@ gseq_istrqize (* HX: for [gs_forall] HX: for [gs_exists] +HX: for [gs_iforall] +HX: for [gs_iexists] *) fun @@ -106,6 +108,14 @@ g_forall(xs: xs): bool fun g_exists(xs: xs): bool +fun + +g_iforall(xs: xs): bool +fun + +g_iexists(xs: xs): bool +// +(* ****** ****** *) // fun @@ -248,6 +258,11 @@ HX: for [gs_foritm] fun g_foritm(xs: xs): void +fun + +g_iforitm(xs: xs): void +// +(* ****** ****** *) // fun diff --git a/srcgen1/prelude/DATS/VT/list000_vt.dats b/srcgen1/prelude/DATS/VT/list000_vt.dats index f8a9fc495..3a70ff269 100644 --- a/srcgen1/prelude/DATS/VT/list000_vt.dats +++ b/srcgen1/prelude/DATS/VT/list000_vt.dats @@ -180,7 +180,7 @@ list_vt_cons(_, xs) => loop(xs, ln+1) #impltmp (*tmp*) -list_vt_make_nval +list_vt_make_ncpy (n0, x0) = let // fnx @@ -207,7 +207,7 @@ in let var r0: list_vt(a) in loop(n0, r0); r0 end -end (* end of [list_vt_make_nval] *) +end (* end of [list_vt_make_ncpy] *) (* ****** ****** *) diff --git a/srcgen1/prelude/SATS/VT/list000_vt.sats b/srcgen1/prelude/SATS/VT/list000_vt.sats index 7e214f2f8..2945e943c 100644 --- a/srcgen1/prelude/SATS/VT/list000_vt.sats +++ b/srcgen1/prelude/SATS/VT/list000_vt.sats @@ -156,13 +156,11 @@ list_vt_make_3val (x1: a ,x2: a, x3: a): list_vt(a,3) // -(* fun list_vt_make_ncpy {n:nat} (n0:sint(n), x0:a): list_vt(a,n) -*) // fun diff --git a/srcgen2/DATS/trsym2b_dynexp.dats b/srcgen2/DATS/trsym2b_dynexp.dats index fc5c0d164..5ad643b8c 100644 --- a/srcgen2/DATS/trsym2b_dynexp.dats +++ b/srcgen2/DATS/trsym2b_dynexp.dats @@ -727,17 +727,29 @@ endlet // end of [D2Etapp(...)] | D2Edapp (d2f0,npf1,d2es) => -(* -HX-2023-07-07: -Handling arguments first! -*) let - val () = - trsym2b_d2exp(env0, d2f0) +// +val () = +trsym2b_d2exp(env0, d2f0) +// end where { - val () = - trsym2b_d2explst(env0, d2es) +// +(* +val () = +( + trsym2b_d2exp(env0, d2f0)) +*) +// +(* +HX-2023-07-07: +Handling the arguments first! +*) +// +val () = +( + trsym2b_d2explst(env0, d2es)) +// } (*where*) // end of [D2Edapp] // | diff --git a/xatslib/githwxi/DATS/myfil00.dats b/xatslib/githwxi/DATS/myfil00.dats index 8606f78a5..76e98c1c4 100644 --- a/xatslib/githwxi/DATS/myfil00.dats +++ b/xatslib/githwxi/DATS/myfil00.dats @@ -50,6 +50,14 @@ end//let (* ****** ****** *) (* ****** ****** *) // +#extern +fun<> +myfil00$myfil_make$opt_stdout + ( fpath: strn ): bool(*succ/fail*) +// +(* ****** ****** *) +(* ****** ****** *) +// (* ****** ****** *)(* ****** ****** *)(* ****** ****** *) (* ****** ****** *)(* ****** ****** *)(* ****** ****** *)