In Prolog predicates, I often write repetitive conditional statements like this one, but I wish they could be written more concisely:
output(Lang, Type, Outp
It seems that multiple clauses are made for this use case and also quite concise.
output(javascript, Type, ["javascript", Type]). output(ruby, Type, ["def", Type]). output(java, Type, [Type]).