Skip to content

StefanScott/UrWeb-demoSql-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very minor modification of the simple UrWeb Sql demo here:

http://www.impredicative.com/ur/demo/

Question:

In the original demo, and in this modified demo, the function delete takes two arguments: an int and ().

https://github.com/StefanScott/UrWeb-demoSql-1/blob/master/demoSql.ur#L45

The second argument () does not seem to be necessary. But if I remove it, the program no longer compiles, giving the compile error:

Have con:  int -> transaction (xml ([Html = ()]) ([]) ([]))
Need con:  int -> {} -> transaction (xml ([Html = ()]) ([]) ([]))

Why does the program fail to compile without this second argument () to the function delete?

Thanks for any help!

About

Simple SQL demo 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published