Heronian triangles: Difference between revisions

→‎{{header|Logtalk}}: Swapped out from a bagof/4 monstrosity to a meta::include/3 test for selecting by area.
m (→‎{{header|Logtalk}}: Corrected a change that should have been made earlier but wasn't.)
(→‎{{header|Logtalk}}: Swapped out from a bagof/4 monstrosity to a meta::include/3 test for selecting by area.)
Line 3,057:
display_each_element(Perimeter10),
 
bagofmeta::include(Element, {Element, Primitives}/[E]>>(member(Element, Primitives), ElementE = t(_,_,_,210.0,_)), Primitives, Area210),
print(@'The list of those with an area of 210 is:\n'),
display_each_element(Area210).
34

edits