langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
10
Task/HTTP/Oz/http-1.oz
Normal file
10
Task/HTTP/Oz/http-1.oz
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
declare
|
||||
fun {GetPage Url}
|
||||
F = {New Open.file init(url:Url)}
|
||||
Contents = {F read(list:$ size:all)}
|
||||
in
|
||||
{F close}
|
||||
Contents
|
||||
end
|
||||
in
|
||||
{System.showInfo {GetPage "http://www.rosettacode.org"}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue