code: def lib_examples(lib):
      
      d = lib_examples_dir(lib)
      if not d.exists():
          return []
      ls = d.dirs()
      ls = [x.name for x in ls]
      ls.sort()
      return ls
docs: return library examples.
  
      EXAMPLE1,EXAMPLE2,..