head	1.1;
access;
symbols
	tcllib-1-13:1.1
	tcllib-1-12:1.1;
locks; strict;
comment	@# @;


1.1
date	2009.02.05.03.27.53;	author afaupell;	state Exp;
branches;
next	;


desc
@@


1.1
log
@initial commit
@
text
@package require rest

set yweather(forecast) {
   url http://weather.yahooapis.com/forecastrss
   req_args { p: }
   opt_args { u: }
}

set yweather(forecast_async) {
   copy forecast
   callback ::yweather::callback
}

rest::create_interface yweather

proc yweather::callback {call status result} {
    puts "callback from $call $status"
    puts $result
}
@
