kozross / hotteok

The next generation in Haskell documentation
1 stars 0 forks source link

Documentation database #5

Open kozross opened 3 years ago

kozross commented 3 years ago

Having to rely on GHC for linkage information is probably inevitable to some degree. However, we could store that in an embedded database, which means that future rebuilds will only need to call out to GHC for stuff that's stale.

Kleidukos commented 3 years ago

This sounds like a very, very good idea.

kozross commented 3 years ago

@Kleidukos If we go with anything, I'm in favour of SQLite. It's easy to depend on, and I know what it is and isn't capable of. It's also very robust on forward-and-backward compatibility, so we won't break existing documentation databases if we upgrade.

Kleidukos commented 3 years ago

Clearly a wise choice.