about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--088file.mu5
-rw-r--r--filesystem.mu6
2 files changed, 3 insertions, 8 deletions
diff --git a/088file.mu b/088file.mu
index 25263fa9..6e6a89e1 100644
--- a/088file.mu
+++ b/088file.mu
@@ -10,9 +10,6 @@ def start-reading fs:address:filesystem, filename:address:array:character -> con
   load-ingredients
   x:number/file <- $open-file-for-reading filename
   contents:address:source:character, sink:address:sink:character <- new-channel 30
-  $print [sink: ], sink, 10/newline
-  chan:address:channel:character <- get *sink, chan:offset
-  $print [chan in start-reading: ], chan, 10/newline
   start-running transmit x, sink
 ]
 
@@ -25,7 +22,5 @@ def transmit file:number, sink:address:sink:character -> file:number, sink:addre
     sink <- write sink, c
     loop
   }
-  $print [closing chan after reading file], 10/newline
   sink <- close sink
-  $print [returning from 'transmit'], 10/newline
 ]
diff --git a/filesystem.mu b/filesystem.mu
index 7aa919e6..274397be 100644
--- a/filesystem.mu
+++ b/filesystem.mu
@@ -1,6 +1,6 @@
 def main [
   local-scope
-  $print [file to read from: ], [/tmp/mu-fs]
+  $print [reading characters from /tmp/mu-fs], 10/newline
   # initialize filesystem
   fs:address:filesystem <- copy 0/real-filesystem
   content-source:address:source:character <- start-reading fs, [/tmp/mu-fs]
@@ -8,9 +8,9 @@ def main [
   {
     c:character, done?:boolean, content-source <- read content-source
     break-if done?
-    $print [Next: ], c, 10/newline
+    $print [  ], c, 10/newline
     loop
   }
-  $print [Done reading], 10/newline
+  $print [done reading], 10/newline
   # TODO: writing to file
 ]
ommitter hut <hut@lavabit.com> 2009-11-27 10:49:48 +0100 more VROOM' href='/akspecs/ranger/commit/test/tc_directory.py?h=v1.2.1&id=9506fb8e79f2d04a1ab78039bacdbee7b22109b5'>9506fb8e ^
fe179145 ^
5822dff7 ^
fe179145 ^
9506fb8e ^
fe179145 ^

fae694a0 ^

fe179145 ^
fae694a0 ^
fe179145 ^
5822dff7 ^
9506fb8e ^
fae694a0 ^
9506fb8e ^
fae694a0 ^
fe179145 ^

fae694a0 ^
fe179145 ^
fae694a0 ^


4c05e43d ^

fae694a0 ^

fe179145 ^

fae694a0 ^




9506fb8e ^
fae694a0 ^
fae694a0 ^
1159f9ec ^



fe179145 ^
5822dff7 ^
9506fb8e ^
fae694a0 ^
fe179145 ^
fae694a0 ^
fe179145 ^

fae694a0 ^

fe179145 ^
fae694a0 ^
9506fb8e ^

f6f26231 ^
4c05e43d ^
f6f26231 ^







9506fb8e ^
fae694a0 ^

f6f26231 ^










4c05e43d ^

fae694a0 ^

fe179145 ^
5822dff7 ^

fe179145 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103