Did you know ... Search Documentation:
did_you_know.pl -- Interesting snippets about SWI-Prolog
PublicShow source

This module generates the 'Did You Know blah blah' bit that appears on every pldoc and SWI-Prolog website page.

Source did_you_know(+Request)[private]
Reply with a non-cacheable DYK fragment.
Source did_you_know_script(+Id)//
Emit script to fetch DYK through AJAX
Source did_you_know//
Generate a DYK fragment.
Source dyk(Id, Saying) is nondet[private]
True if Saying is a DYK exression. They come in two forms:
  • HTML - HREF
  • HTML

be careful with line lengths for sayings, 40 chars max

Source afdyk(Id, Saying) is nondet[private]
True if Saying is a DYK exression for april fools. They come in four forms:
  • HTML - HREF
  • HTML
  • news(HTML - HREF)
  • news(HTML)

be careful with line lengths for sayings, 40 chars max