Logic programs as types for logic programs | IEEE Conference Publication | IEEE Xplore