Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 283 Bytes
type Request = {url: String, payload: String}
let ajaxRequest = {
return: \x -> x
bind: \(x : Request) f ->
$.get x.url x.payload f
let v = (do ajaxRequest
value <- {url: '/examples/helloworld.roy', payload: 'stuff'}
console.log value
return value
console.log v
You can’t perform that action at this time.