niktkolwiek

L PP Lista 9 Oz

Dec 5th, 2011
343
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %Zad2
  2. declare
  3. fun {Insert Slownik#Slowo}
  4.    local fun {Ins Snk}
  5.         case Snk
  6.         of H|T then local wyraz(Swo#Wyst)= H in
  7.                if Swo==Slowo then wyraz(Swo#Wyst+1)|T
  8.                elseif Slowo<Swo then wyraz(Slowo#1)|H|T
  9.                else H|{Ins T}
  10.                end
  11.             end
  12.            [] nil then [wyraz(Slowo#1)]
  13.         end
  14.      end
  15.    in {Ins Slownik} end
  16. end
  17.  
  18. {Show {Insert{Insert{Insert {Insert nil#1}#2}#1}#0}}
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×