문제가 생겼는데 이렇게 하면 다음과 같이 하독(haddock)으로 만든 라이브러리 문서를 볼 때 WSL에서 브라우저를 열 수 없다.

cabal haddock --open

이럴 때는 다음과 같은 옵션을 이용해서 문서 배포용 압축 파일을 만들고 그것을 macOS 로컬로 다운 받아 열면 된다.

cabal haddock --for-hackage

그나저나 하독이 만들어주는 문서 페이지 너무 깔끔하고 좋다.

1
0

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/0195b059-534e-73e3-b778-b286f7550e9d on your instance and quote it. (Note that quoting is not supported in Mastodon.)