Book (also free online): Law for Computer Scientists and Other Folk

By Mireille Hildebrandt

which includes e.g. sections on Machine Learning, Dsitributed Ledger and Legal by Design…

https://www.cohubicol.com/about/publications/law-for-computer-scientists-and-other-folk/

Available on OpenReview at MIT’s pubpub
https://lawforcomputerscientists.pubpub.org/

and as a PDF download
https://www.cohubicol.com/assets/uploads/law_for_computer_scientists.pdf

as well as hardcopy.