You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 630 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general)
Bug description
Quand on écrit un script ocaml (on met #!/path/ocaml en première ligne
puis du source), Sys.interactive vaut true, donc le source ne sait pas
distinguer si on est sous un top-level (vraiment) interactif qui fait
#use, ou dans un script lancé très régulièrement par un shell.
En gros, Sys.interactive (actuel) devrait s'appeler (s'il est encore
utile) Sys.under_top_level, et un autre Sys.interactive devrait être
mis en fonction d'un critère différent (e.g. il y a des petites mains
qui tapent du code au bout de stdin :-).
Bruno.
The text was updated successfully, but these errors were encountered:
Original bug ID: 630
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
Quand on écrit un script ocaml (on met #!/path/ocaml en première ligne
puis du source), Sys.interactive vaut true, donc le source ne sait pas
distinguer si on est sous un top-level (vraiment) interactif qui fait
#use, ou dans un script lancé très régulièrement par un shell.
En gros, Sys.interactive (actuel) devrait s'appeler (s'il est encore
utile) Sys.under_top_level, et un autre Sys.interactive devrait être
mis en fonction d'un critère différent (e.g. il y a des petites mains
qui tapent du code au bout de stdin :-).
Bruno.
The text was updated successfully, but these errors were encountered: