comp.lang.ada
 help / color / mirror / Atom feed
* [ANN] List_Image v0.2.0
@ 2018-01-31  0:44 Lionel Draghi
  2018-01-31  7:27 ` briot.emmanuel
  0 siblings, 1 reply; 30+ messages in thread
From: Lionel Draghi @ 2018-01-31  0:44 UTC (permalink / raw)


List_Image is a small helper to print the content of Ada predefined containers, available here : https://github.com/LionelDraghi/List_Image

The Image generic function returns the image of containers content in various format, customizable at instantiation time, from the simple
  A, B, C

or
  [A, B, C]

or
  - A
  - B
  - C

or
  A, B and C

or more complex format like html :
  <ul>
  <li>A</li>
  <li>B</li>
  <li>C</li>
  </ul> 

Format may differ for empty list and list containing a single item.
So, the same instantiation of the function may return :

- "No test failed"                if the list is empty
- "Test test_1 fails"             if the list contains "test_1"
- "Tests test_1 and test_2 fail"  if the list contains "test_1" and "test_2"

Lionel


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2018-03-07 10:17 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-31  0:44 [ANN] List_Image v0.2.0 Lionel Draghi
2018-01-31  7:27 ` briot.emmanuel
2018-01-31 21:11   ` Lionel Draghi
2018-02-01  8:05     ` briot.emmanuel
2018-02-01  9:48     ` J-P. Rosen
2018-02-01 15:48       ` Lionel Draghi
2018-02-01 17:20         ` bozovic.bojan
2018-02-01 18:31           ` Lionel Draghi
2018-02-01 18:45             ` bozovic.bojan
2018-02-01 20:26               ` Dennis Lee Bieber
2018-02-02  5:25                 ` J-P. Rosen
2018-02-02  0:02             ` Randy Brukardt
2018-02-02  0:31               ` Simon Clubley
2018-02-02 18:34               ` Lionel Draghi
2018-02-02 22:40                 ` Randy Brukardt
2018-02-11 23:27                   ` Lionel Draghi
2018-02-12  6:55                     ` J-P. Rosen
2018-02-12 20:44                       ` Lionel Draghi
2018-02-12 10:57                     ` Stefan.Lucks
2018-02-12 21:41                       ` Lionel Draghi
2018-03-07 10:17                     ` Semantic versioning (Was: [ANN] List_Image v0.2.0) Jacob Sparre Andersen
2018-02-01 20:11         ` [ANN] List_Image v0.2.0 J-P. Rosen
2018-02-01 21:08           ` Simon Wright
2018-02-01  0:27   ` Randy Brukardt
2018-02-01  7:55     ` briot.emmanuel
2018-02-01 23:56       ` Randy Brukardt
2018-02-02 15:48         ` Simon Wright
2018-02-02 22:54           ` Randy Brukardt
2018-02-01  8:08     ` Simon Wright
2018-02-01  8:24       ` Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox