Trying to get a NN code going
John van Groningen
johnvg@cs.kun.nl
Mon, 1 Mar 1999 17:36:41 +0100
Gert Veldhuijzen van Zanten wrote:
>...
>Unfortunately, this means that I usually have to write toString
>instances of all the types that I use. I am still hoping for the Clean
>team to make available at some time the functions that print the Start
>expression to the console.
The file "_system.abc" contains the code that prints the result of the program. You can use this code with:
write_graph :: !a -> Bool;
write_graph g = code {
.d 1 0
jsr _print_graph
.o 0 0
pushB TRUE
}
This function will print the argument g and then return True. This should work on all platforms.
John van Groningen
johnvg@cs.kun.nl