The invention provides biocompatible resorbable polymers, comprising monomerunits having formula (I), formula (II), formula (III) or formula (IV). The polymersdegrade over time when implanted in the body, and are useful as components of implantablemedical devices.