-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
###### start of [README] ###### | ||
################################################################## | ||
######################## beg of [README] ######################### | ||
################################################################## | ||
|
||
This is a place for contributed code. | ||
|
||
In general, if you have a question on something | ||
(e.g., the syntax of ATS3), please open an issue | ||
on Github. | ||
In general, if you have a question on something (e.g., the syntax | ||
of ATS3), please open an issue on Github. | ||
|
||
There is a library libxatsopt for ATS3(ATS/Xanadu). | ||
If you create a tool for ATS3, you may want to consider | ||
using this library (instead of relying on the source | ||
code for ATS3). | ||
There is a library for ATS3(ATS/Xanadu) that is given the name | ||
[libxatsopt]. If you create a tool for ATS3, please consider using | ||
this library (instead of relying on the source code for ATS3). | ||
|
||
###### finish of [README] ###### | ||
################################################################## | ||
######################## end of [README] ######################### | ||
################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
(* ****** ****** *) | ||
(* ****** ****** *) | ||
// | ||
fun | ||
fact_loop(i, r) = | ||
if i < fact_n | ||
then fact_loop(i+1, (i+1)*r) else r | ||
// | ||
(* ****** ****** *) | ||
(* ****** ****** *) | ||
// | ||
(* ****** ****** *)(* ****** ****** *)(* ****** ****** *) | ||
(* ****** ****** *)(* ****** ****** *)(* ****** ****** *) | ||
|
||
(* end of [ATS3/XANADU_prelude_TEST_CATS_JS_DATA_data00_fact000.dats] *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters