Skip to content

Commit

Permalink
Updating: very very minorly
Browse files Browse the repository at this point in the history
  • Loading branch information
githwxi committed Feb 8, 2025
1 parent b95a259 commit 6c10a03
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
17 changes: 14 additions & 3 deletions srcgen2/DATS/filpath.dats
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
** 02110-1301, USA.
*)

(* ****** ****** *)
(* ****** ****** *)
//
(*
Expand All @@ -34,17 +35,27 @@ Authoremail: gmhwxiATgmailDOTcom
*)
//
(* ****** ****** *)
(* ****** ****** *)
#define
ATS_PACKNAME
"ATS3.XANADU.xatsopt-20220500"
(* ****** ****** *)
(* ****** ****** *)
//
#include
"./../HATS/xatsopt_sats.hats"
(*
#include
"./../HATS/xatsopt_dats.hats"
*)
#include
"./../HATS/xatsopt_dpre.hats"
//
(* ****** ****** *)
#define
ATS_PACKNAME
"ATS3.XANADU.xatsopt-20220500"
(* ****** ****** *)
#staload "./../SATS/filpath.sats"
(* ****** ****** *)
(* ****** ****** *)

local

Expand Down
19 changes: 19 additions & 0 deletions srcgen2/HATS/xatsopt_dpre.hats
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,25 @@ For ATS3/XATSOPT
#symload print with g_print of 0101 // > 0100
(* ****** ****** *)
(* ****** ****** *)
//
#impltmp
< a:vt >
a0ref_make_1val(x0) =
a0ptr2ref(a0ptr_make0_1val<a>(x0))
//
(* ****** ****** *)
(* ****** ****** *)
//
#impltmp
<>(*tmp*)
strn_tabulate$f1un
(n0, fopr) =
(
strn_vt2t
(strn_vt_tabulate$f1un<>(n0, fopr)))
//
(* ****** ****** *)
(* ****** ****** *)
#staload _(*local*) = "./../DATS/xatsopt_tmplib.dats"
(* ****** ****** *)
(* ****** ****** *)
Expand Down

0 comments on commit 6c10a03

Please sign in to comment.